News for hackers. Stuff that matters.
Re:Own Constant Folder in C/C++ by senkora on Saturday June 22, 2024 @08:58PM (#40763698)
It seems like this depends on whether you specify -ffast-math when linking or only when compiling: https://stackoverflow.com/a/68938551

My understanding is that if you don't specify -ffast-math when linking then you shouldn't get crtfastmath.o linked in.

Re:Own Constant Folder in C/C++ by adgjlsfhk1 on Saturday June 22, 2024 @10:37PM (#40764280)
so this is complicated by the fact that GCC has a bug until last year where it would set the subnormal truncation flag when it wasn't supposed to.