HN
Hacker News
Top
New
Best
Ask
Show
Jobs
0.1 and 0.2 = 0.3 | Hacker News Reader
0.1 and 0.2 = 0.3
0.30000000000000004.com
2 points
·
kinduff
·
·
2 comments
Open article
Save
View on HN
PaulHoule
·
It doesn’t have to be this way. Decimal floating point numbers are a thing. Mainframes supported them from the 1960s and they are even IEEE standardized.
jjgreen
·
... but they don't have hardware support on your machine
Reply on news.ycombinator.com