Russ Cox personal blog
Floating-Point Printing and Parsing Can Be Simple and Fast
A floating point number f has the form f = m · 2 e where m is called the mantissa and e is a signed integer exponent . We like to read numbers scaled by powers of ten, not two, so computers need algorithms to convert binary floating-point to and from decimal text. My 2011 post “ Floating Point to Decimal Conversion is…
- Points
- 121
- HN comments
- 14
- Submissions
- 1
- Cited by
- 3 commenters
Software EngineeringMath & Algorithms2026
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jan 19, 2026 | Floating-Point Printing and Parsing Can Be Simple and Fast by chmaynard | 121 | 14 |
Cited in comments
Linked from 3 Hacker News comments by 3 different people, from Mar 2026 to Aug 2026.
Most recent:
- pbohun · Aug 21, 2026
- e4m2 · Aug 19, 2026
- boisterousness · Mar 11, 2026