Russ Cox 1/19/2026

Floating-Point Printing and Parsing Can Be Simple And Fast

Read Original

This article presents new, simple, and fast algorithms for printing and parsing floating-point numbers. It introduces the concept of 'fast unrounded scaling' as a foundation for implementations that outperform existing methods like Ryū and Dragonbox. The post includes a detailed explanation, a concrete Go implementation, and performance comparisons.

Floating-Point Printing and Parsing Can Be Simple And Fast

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser