Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
johnbcoughlin
· 2y ago · 0 comments
Such optimizations may be forbidden by the fact that floating point addition is not associative unless you tell the compiler not to worry about that (I believe)
Comments
[–]
account42
2y ago
> floating point addition is not associative unless you tell the compiler not to worry about that
Ah yes, fun and safe math optimizations.
[–]
xxpor
2y ago
Ah yes, I always forget about the rules with floats. My line of work only ever uses ints.