Printing floating-point numbers quickly and accurately with integers

Florian Loitsch
2010
1 reference

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.

1 repository
1 reference

Code References

swiftlang/swift
1 file
stdlib/public/core/FloatingPointToString.swift
1
/// https://doi.org/10.1145/1806596.1806623
Link copied to clipboard!