-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Printing Floating-Point Numbers A Faster, Always Correct Method #27
Comments
Apparently they didn't measure the right configuration of the double-conversion library. (Which they confirmed in a private email). My current understanding is, that grisu is still 1.7 times faster. They promised to update their talk, PDF and web presence. |
@floitschG If that's was the case, then we could replace Dragon4 with Errol3 |
We could, but I'm not sure it's worth the effort: dragon is only hit for very few cases, and the code is well tested. |
Another option worth considering: The Swift standard library is now using a fast algorithm that combines features of Grisu2 and Errol4. The C implementation includes detailed comments. The original pull request has some additional discussion and explanation. |
sounds good |
Closing this issue. Ryu is superseding both Errol as well as Grisu. |
This is a faster and complete way to do double conversation.
http://cseweb.ucsd.edu/~lerner/papers/fp-printing-popl16.pdf
The text was updated successfully, but these errors were encountered: