News for hackers. Stuff that matters.
Re:Int a = 5; a = a++ + ++a; a =? (2011) by daemin on Thursday May 14, 2026 @10:00PM (#48143644)
Floating point reproducibility and cross platform determinism requires strict adherence to the IEEE standard and disabling of fused instructions.
Re:Int a = 5; a = a++ + ++a; a =? (2011) by AlotOfReading on Thursday May 14, 2026 @11:50PM (#48144355)
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.