News for hackers. Stuff that matters.
Re:Optimizations Enabled by -ffast-Math by nwallin on Wednesday October 20, 2021 @08:31PM (#28938730)
No. Imagine you have this:

  if (x < 7)
    doSomething();
  else
    doSomethingElse();
With -ffast-math, the compiler is allowed to call neither doSomething() nor doSomethingElse() if x is nan. Which IMHO is not great.

There are no comments on this comment yet.