top | item 40955311

(no title)

johnbcoughlin | 1 year ago

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)

discuss

order

account42|1 year 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|1 year ago

Ah yes, I always forget about the rules with floats. My line of work only ever uses ints.