Printing Floating-Point Numbers (2014)
ryanjuckett.com
ryanjuckett.com
Dragon4 and Grisu3: Algoritms to Display Floating Point Numbers
https://www.clarusft.com/dragon4-and-grisu3-algorithms-to-di...
"Printing Floating-Point Numbers Quickly and Accurately with Integers" by Florian Loitsch
http://www.cs.tufts.edu/~nr/cs257/archive/florian-loitsch/pr...
And its implementation in C
https://github.com/google/double-conversion
Here's a Java implementation of Grisu2 algorithm.
Gees, what a troll.