Russ Cox 1/19/2026

Fast Unrounded Scaling: Proof by Ivy

Read Original

This article presents a detailed mathematical proof and algorithm for 'fast unrounded scaling,' a core operation in floating-point to decimal conversion. It defines the unrounded form, explains the 'Scale' algorithm using 128-bit approximations, and proves its correctness for use in fixed-width, short, and parse conversion algorithms as part of a larger series on simple and fast floating-point formatting.

Fast Unrounded Scaling: Proof by Ivy

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes