Re:Float and integer arithmetic follow two different paradigms
by a_e_k on Thursday October 08, 2026 @01:08PM
(#50008567)
For the float stuff, beware of `-ffinite-math-only`. If enabled, `isfinite()` and may compile out as assumed true (with similar assumptions around `isnan()` and `isinf()`).
And `-ffinite-math-only` is enabled by `-ffast-math` which in turn is enabled by `-Ofast`.
And `-ffinite-math-only` is enabled by `-ffast-math` which in turn is enabled by `-Ofast`.