Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
colejohnson66
on Nov 28, 2021
|
parent
|
context
|
favorite
| on:
Floating point visually explained (2017)
But they are repeating. So, by definition, they are not exactly representable in a (binary) floating point system. Again, that’s why 0.1 + 0.2 is not 0.3 in binary floating point.
jacobolus
on Nov 29, 2021
[–]
These are not "repeating". This is showing the exact binary representation of the nearest double precision value in each case.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: