Hacker News new | past | comments | ask | show | jobs | submit login

Yes.

These algorithms (Grisu, Ryu, ...) all satisfy the "internal identity requirement", which means that they can print a double and read it back in to the same double.

The harder part is to also produce the shortest of all possible string-representations. (And then picking the closest if there are many).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: