News for hackers. Stuff that matters.
Re:Own Constant Folder in C/C++ by pdw on Saturday June 22, 2024 @05:41PM (#40762447)
That's not really true. If you link a shared library that was compiled with -ffast-math, that will affect the entire program. https://moyix.blogspot.com/2022/09/someones-been-messing-wit...
Re:Own Constant Folder in C/C++ by gpderetta on Saturday June 22, 2024 @09:13PM (#40763771)
To enable this "feature" I believe you have to specify fast math while linking the .so, it is not enough to do it when compiling.

It had also been fixed recent GCC versions.