CISSAlgorithm origin & lineage registry

AlgorithmsNumerics & probabilityEdit on GitHubEdit history

Grisu

Grisu32010

An algorithm that converts floating-point numbers to short decimal representations quickly using only precomputed approximations of powers of ten and extended-precision arithmetic on 64-bit integers. Grisu3 detects the roughly 0.5% of inputs for which shortness cannot be guaranteed and hands them to a slower method.

Origin

Florian Loitsch (2010). Printing floating-point numbers quickly and accurately with integers. PLDI 2010 (ACM SIGPLAN Conference on Programming Language Design and Implementation).doi:10.1145/1806596.1806623 — checked against Crossref, 2026-11-08

Lineage

Algorithms 3 · Relations 2

Parent algorithms

Where it came from
Dragon41990OptimizationVerified90%

Author statementLoitsch's paper presents Grisu, which prints quickly using only fixed-width integers instead of the big-integer arithmetic of Steele and White's method — doi:10.1145/1806596.1806623

Derived algorithms

What it led to
Ryū2018OptimizationVerified85%

CitationThe Ryū paper compares against Grisu3 and presents a faster method that guarantees the shortest output for every input — doi:10.1145/3192366.3192369

Notable implementations

Paths checked against the GitHub default branch

Find more: GitHub · Semantic Scholar · Google Scholar · arXiv

Claims & disputes

Loading…