2 ms·
The problem is that in most languages, to novices floating point numbers swim like a duck, quack like a duck, but it turns out they're alligators. A good way t
by magicalhippo 7y ago
The problem is that in most languages, to novices floating point numbers swim like a duck, quack like a duck, but it turns out they're alligators.
A good way to get around this is reading https://floating-point-gui.de/ https://floating-point-gui.de/ to weed out any preconceptions, but yeah it's difficult to steer novices there without them stepping on one of the pitfalls first.