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

SubmittedTitle on HNPointsComments
Jan 19, 2026Floating-Point Printing and Parsing Can Be Simple and Fast by chmaynard12114

Cited in comments

Linked from 3 Hacker News comments by 3 different people, from Mar 2026 to Aug 2026.

Most recent:

Search every comment that links here →

More from Russ Cox

All 43 posts →

Related posts from the same era