News for hackers. Stuff that matters.
Re:Beware of fast-math by adgjlsfhk1 on Friday November 12, 2021 @01:41PM (#29202979)
That's not what the parent meant. The parent meant that there are ways of generating fma instructions without using fast-math. Emulating an fma instruction is almost always a bad idea (I should know I've written fma-emulation before. It sucks)
Re:Beware of fast-math by dahart on Friday November 12, 2021 @01:57PM (#29203170)
Oh, my mistake, thanks. Yes you can use FMA instructions without the fast-math compiler flag for sure. Emulation being a bad idea is the impression I got; I’m glad to hear the confirmation from experience.