r/programming • u/mttd • Aug 12 '26
The fastest double-to-string algorithm you’ve never heard of
https://vitaut.net/posts/2026/yy-dtoa/
338
Upvotes
r/programming • u/mttd • Aug 12 '26
View all comments
57
u/jnordwick Aug 12 '26
If you don't need shortest string you can get even faster and remove some of the worst cases. I wrote a specialized float/ double to string routine years ago for high speed logging.