logoalt Hacker News

daemintoday at 2:00 AM1 replyview on HN

Floating point reproducibility and cross platform determinism requires strict adherence to the IEEE standard and disabling of fused instructions.


Replies

AlotOfReadingtoday at 3:50 AM

The point being that there are many other places where reproducibility fails to hold, especially when optimizations are involved. The standard doesn't mandate a way to disable contraction, nor the existence (or absence) of -ffast-math and others. They're simply different, legal compilations within the broad scope allowed under the standard.