Hacker News new | ask | show | jobs
by owlbite 1684 days ago
Unless, of course, you have some algorithm that depends on signed zeros. Which is basically the same with all the optimizations the article complains about.

I'd suggest -ffp-contract=fast is a good idea for 99% of code. It's only going to break things where very specific effort has gone in to the numerical analysis, and likely the authors of such things are sufficiently fp-savy to tell you not to do the thing.

1 comments

Is there any algorithm that depends on signed zeros? I'm not aware of any.