Showing 2026Show all
2 papers · 1 filter
cs.DS2026
Converting an Integer to a Decimal String in Under Two Nanoseconds
Jaël Champagne Gareau, Daniel Lemire
Converting binary integers to variable-length decimal strings is a fundamental operation in computing. Conventional fast approaches rely on recursive division and small lookup tabl…
cs.AR2026
Converting Binary Floating-Point Numbers to Shortest Decimal Strings: An Experimental Review
Jaël Champagne Gareau, Daniel Lemire
When sharing or logging numerical data, we must convert binary floating-point numbers into their decimal string representations. For example, the number might become 3.1415927…