Re:Own Constant Folder in C/C++
by adgjlsfhk1 on Saturday June 22, 2024 @09:44AM
(#40759107)
I prefer -funsafemath. Who doesn't want their math to be fun and safe?
[ Parent
| on HN ]
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.
I am pretty sure the -f is for feature. Because there are flags like -fno-exceptions and -fcoroutines
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