miniblog.
← Back to all posts
Dec 5, 2015 at 18:41
The GCC wiki has a scary list of all the arithmetic transformations that don't work in compliant floating point C:
Making sure you're not a bot!
gcc.gnu.org/wiki/FloatingPointMath#Transformations
Wilfred Hughes
Related Posts
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: arithmetic, floating, point Score: 72.1
May 14, 2015 at 19:52
Lies, damned lies, and floating point arithmetic.
Wilfred Hughes
Shared words: arithmetic, floating, point Score: 72.1
Jun 13, 2010 at 18:14
Beware floating point arithmetic. Seriously. 0.7 + 0.1 != 0.8 (try it in your REPL of choice)
Wilfred Hughes
Shared words: arithmetic, floating, point Score: 72.1