Printing Floating Point Numbers Quickly and Accurately with Integers 2010 (dto
Printing Floating-Point Numbers Quickly and Accurately with IntegersFlorian Loitsch Inria Sophia Antipolis2004 Route des Lucioles - BP 93 - 06902 Sophia Antipolis Cedex florian.loitsch@inria.frAbstract 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 in- tegers) and correct: any printed number will evaluate to the same number, when read again.Our algorithms a