News for hackers. Stuff that matters.
Re:How to make smaller C and C++ binaries by cozzyd on Sunday May 07, 2023 @07:34PM (#35856620)
If I'm optimizing for binary size, I'm likely targeting a microcontroller that has no floating point unit, in which case the obvious size optimization is don't use floating point...
Re:How to make smaller C and C++ binaries by bee_rider on Sunday May 07, 2023 @07:41PM (#35856660)
What does the —ffast-math flag get you there?
Re:How to make smaller C and C++ binaries by cozzyd on Monday May 08, 2023 @12:47AM (#35858203)
nothing... you wouldn't use floating point math in the first place :)