News for hackers. Stuff that matters.
Re:Own Constant Folder in C/C++ by glitchc on Saturday June 22, 2024 @10:00AM (#40759219)
I don't know how many people got your joke, but that flag actually says unsafe math. The -f prefix signifies a floating point flag.
Re:Own Constant Folder in C/C++ by rockwotj on Saturday June 22, 2024 @10:18AM (#40759319)
I am pretty sure the -f is for feature. Because there are flags like -fno-exceptions and -fcoroutines
Re:Own Constant Folder in C/C++ by jkrejcha on Saturday June 22, 2024 @11:33AM (#40759773)
It's a feature flag, they're not all necessarily floating point related. As an example though, I still intentionally humorously misread -funroll-loops as funroll loops even though it's f(eature) unroll loops
Re:Own Constant Folder in C/C++ by hackcasual on Sunday June 23, 2024 @12:01AM (#40764684)
The f in that case stands for fruit