News for hackers. Stuff that matters.
Re:0.30000000000000004 by anaphor on Monday December 02, 2019 @05:58PM (#21687995)
Even decimal floating point is a bad idea (for dealing with money) since you still can't represent a subset of rational numbers without approximation and without introducing rounding error during some calculations. It's just a different subset than what binary floating point can represent without approximation.

There are no comments on this comment yet.