Re:Floating point numbers, and why they suck
by pjam on Friday December 17, 2021 @09:04AM
(#29592265)
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?"
[ Parent
| on HN ]
Re:Floating point numbers, and why they suck
by spicybright on Friday December 17, 2021 @09:09AM
(#29592332)
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.
This is a good link to send to people: https://floating-point-gui.de/
Re:Floating point numbers, and why they suck
by maxlybbert on Friday December 17, 2021 @09:40AM
(#29592756)
I remember covering how floating point were stored, but I don’t remember going all that deep into how that affected arithmetic.
Re:Floating point numbers, and why they suck
by longemen3000 on Friday December 17, 2021 @03:53PM
(#29598218)