3 ms·
I don’t think people do (or should) actually care about the internal representation of the first digit of .1 + .2. They might care about the printed representat
by bee_rider 3y ago
I don’t think people do (or should) actually care about the internal representation of the first digit of .1 + .2. They might care about the printed representation.
If you round to the nearest, like, 10E-8 (maybe relative if your numbers being printed have massive range) it should be basically fine with doubles.