AlgorithmsNumerics & probabilityEdit on GitHubEdit history
Eisel–Lemire Algorithm
2021
A string-to-floating-point conversion algorithm that multiplies the decimal significand by precomputed 128-bit approximations of powers of ten, converting most inputs to correctly rounded floats with one or two 64-bit integer multiplications and handing only rare undecidable cases to a slower method.
Origin
Daniel Lemire (2021). Number parsing at a gigabyte per second. Software: Practice and Experience 51(8).doi:10.1002/spe.2984 — checked against Crossref, 2026-11-08The algorithm is named after Michael Eisel, who wrote the first implementation, and Lemire, the paper's author.
Lineage
Algorithms 2 · Relations 1
Parent algorithms
Where it came from
Clinger's Algorithm1990
CitationLemire's paper presents a method that also converts most inputs outside Clinger's fast path exactly with 64-bit integer multiplications — doi:10.1002/spe.2984
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…