logoalt Hacker News

HexDecOctBinyesterday at 12:49 AM1 replyview on HN

It seems that most research effort goes into better dtoa, and not enough in a better atod. There are probably a dozen dtoa algorithms now, and (I think?) two for atod. Anyone know why?


Replies

vitautyesterday at 2:50 AM

Good question. I am not familiar with string-to-double algorithms but maybe it's an easier problem? double-to-string is relatively complex, people even doing PhD in this area. There is also some inherent asymmetry: formatting is more common than parsing.

show 2 replies