miniblog.
← Back to all posts
Apr 28, 2016 at 18:31
Are you comparing floating point numbers? Choosing a correct value for epsilon is impossible in the general case:
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…
Wilfred Hughes
Related Posts
Oct 27, 2018 at 17:08
Interestingly, Emacs lisp considers the literal 1. to be an integer literal, whereas most languages consider a decimal point to always mean a floating point number.
Wilfred Hughes
Shared words: floating, point, numbers Score: 45.3
Apr 1, 2016 at 07:21
It still seems odd to me that there are many different NaN values in floating point arithmetic. Those bits could have improved precision!
Wilfred Hughes
Shared words: floating, point, value Score: 45.2
Feb 14, 2015 at 20:52
Why does IEEE 754 standard defines 16,777,214 32-bit floating point values as NaNs?
https://stackoverflow.com/q/19800415/509706
Wilfred Hughes
Shared words: floating, point, value Score: 45.2