3 ms·
There is also http://github.com/double-conversion http://github.com/double-conversion (of which I'm the author). It's based on http://florian.loitsch.com/publi
by floitsch 10y ago
There is also http://github.com/double-conversion http://github.com/double-conversion (of which I'm the author).
It's based on http://florian.loitsch.com/publications/dtoa-pldi2010.pdf http://florian.loitsch.com/publications/dtoa-pldi2010.pdf
I'm obviously biased, but I think the API is easier, and the algorithm is faster.
However, it's in C++ (which might not suit your needs), and it requires more code (especially with the precomputed constants).