kirancodes.me
To Proof Maintenance & Beyond!

Printing floating-point numbers quickly and accurately with integers

Florian Loitsch

Abstract

We present algorithms for accurately converting floating-point numbers to decimal representation. They are fast (up to 4 times faster than commonly used algorithms that use high-precision integers) and correct: any printed number will evaluate to the same number, when read again.

Related papers