Comment by defaultname
4 years ago
Several years ago I made a basic, interactive explanation of the same-
https://dennisforbes.ca/articles/understanding-floating-poin...
At the time it was to educate a group I was working with about why their concern that "every number in JavaScript is a double" doesn't mean that 1 is actually 1.000000001 (e.g. everyone knows that floating point numbers are potentially approximations, so there is a widespread belief that every integer so represented is the same).
No comments yet
Contribute on Hacker News ↗