3 ms·
I think most people trying to losslessly represent money or similar discrete quantities already have the intuition that you shouldn't use binary floating point,
by Veedrac 5y ago
I think most people trying to losslessly represent money or similar discrete quantities already have the intuition that you shouldn't use binary floating point, and those that don't are not well served by telling them to math.isclose it, which is at best a fragile bandaid.
- Tainnor 5y agoI sadly don't think the first part of your sentence is true, from what I've seen, but yes, definitely agree about the second part.