AlgorithmsNumerics & probabilityEdit on GitHubEdit history
Ryū
Ryu2018
A floating-point-to-string conversion algorithm that handles the bounds of the rounding interval with precomputed tables and fixed-width integer multiplications to produce the shortest round-trip decimal representation for every input.
Origin
Ulf Adams (2018). Ryū: fast float-to-string conversion. PLDI 2018 (ACM SIGPLAN Conference on Programming Language Design and Implementation).doi:10.1145/3192366.3192369 — checked against Crossref, 2026-11-08
Lineage
Algorithms 3 · Relations 2
Parent algorithms
Where it came from
Grisu2010
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…