Rick Regan (Exploring Binary) personal blog
Java Hangs When Converting 2.2250738585072012e-308
Konstantin Preißer made an interesting discovery , after reading my article “ PHP Hangs On Numeric Value 2.2250738585072011e-308 ”: Java — both its runtime and compiler — go into an infinite loop when converting the decimal number 2.2250738585072012e-308 to double-precision binary floating-point. This number is…
- Points
- 180
- HN comments
- 66
- Submissions
- 1
- Cited by
- 5 commenters
Software EngineeringMath & Algorithms2011
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Feb 1, 2011 | Java Hangs When Converting 2.2250738585072012e-308 by pietrofmaggi | 180 | 66 |
Cited in comments
Linked from 5 Hacker News comments by 5 different people, from Oct 2014 to Dec 2025.
Most recent:
- mananaysiempre · Dec 19, 2025
- Someone · Mar 5, 2021
- hyperman1 · May 26, 2020
- wglb · Jan 17, 2015
- userbinator · Oct 6, 2014