News for hackers. Stuff that matters.
Re:Beware of Fast-Math by scott_w on Saturday May 31, 2025 @10:36AM (#44144566)
For far too many years I had inherited a billing system that used floats for all calculations then rounded up or down. Also doing some calculations in JS and mirroring them on the Python backend, so “just switch to Decimal” wasn’t an easy change to make…

There are no comments on this comment yet.