This. Sure, floating point numbers come with a footgun, but the title is so clickbaity, would it really hurt to name it: "What I wish I knew about floating numbers before relying on them?"
I think it's common to just not be taught floating points need to be handled a lot differently than whole numbers, so the common experience is getting bit by it. I don't remember ever being taught that in my traditional schooling, personally.
spicybright|4 years ago
This is a good link to send to people: https://floating-point-gui.de/
maxlybbert|4 years ago
longemen3000|4 years ago