News for hackers. Stuff that matters.
Re:Optimizations Enabled by -ffast-Math by contravariant on Wednesday October 20, 2021 @04:58AM (#28928391)
And don't do any division.

Easy.

Re:Optimizations Enabled by -ffast-Math by okl on Wednesday October 20, 2021 @05:35AM (#28928661)
There's nothing wrong with divisions if you exclude problematic combinations of input values.
Re:Optimizations Enabled by -ffast-Math by contravariant on Wednesday October 20, 2021 @07:31AM (#28929437)
You're going to have to do some intermediate checks if you want stuff like x/sin(x) to behave.
Re:Optimizations Enabled by -ffast-Math by scheme271 on Wednesday October 20, 2021 @05:12AM (#28928490)
Or multiplications or additions to avoid overflows or denormals