Re:Less Slow C++
by pclmulqdq on Friday April 18, 2025 @07:01PM
(#43732644)
-ffast-math has about 15 separate compiler flags that go into it, and on any given piece of code, about 3-5 of them are disastrous for your numerical accuracy (but which 3-5 changes by application). If you do the other 10, you get most of the benefit without the inaccuracy. -ffast-math is especially dumb because it encourages people to go for all of them or nothing.
[ Parent
| on HN ]
There are no comments on this comment yet.