Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: