miniblog.
← Back to all posts
Wilfred Hughes
Apr 28, 2016 at 18:31
Are you comparing floating point numbers? Choosing a correct value for epsilon is impossible in the general case:
https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/
Comparing Floating Point Numbers, 2012 Edition
This post is a more carefully thought out and peer reviewed version of a floating-point comparison article I wrote many years ago. This one gives solid advice and some surprising observations about…