News for hackers. Stuff that matters.
Re:John Gustafson’s crusade to replace floating point with s... by stkdump on Tuesday July 09, 2019 @08:00AM (#20390910)
I hate that mantra, as it produced more bugs and inaccuracies in the code I have to work with than necessary. Actually you should be able to rely on the equality of a value with its copy no matter what. We are past the FPU days, so I think we can let go of these mindless epsilons sprinkled over the code.

(Even during the FPU days, every ; should have rounded each value to the size of the variables, unless you use a special compiler switch to make FP math faster)

There are no comments on this comment yet.