Skip to content
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

State of the art for printing floating point numbers #222

Open
DianaOlympos opened this issue Apr 29, 2023 · 0 comments
Open

State of the art for printing floating point numbers #222

DianaOlympos opened this issue Apr 29, 2023 · 0 comments

Comments

@DianaOlympos
Copy link

DianaOlympos commented Apr 29, 2023

in

If you are so inclined, you can read the classic "[What Every Computer Scientist Should Know About Floating-Point Arithmetic](https://www.itu.dk/~sestoft/bachelor/IEEE754_article.pdf)" (1991) and [the paper introducing Grisu3](https://www.cs.tufts.edu/~nr/cs257/archive/florian-loitsch/printf.pdf), the current state-of-the-art for printing floating-point numbers.
you state that the state of the art for printing floating point numbers is Grisu3.

That is not true for a few years now. The current most implemented state of the art is Ryu, https://github.com/ulfjack/ryu and for something that is not used by a lot of implementation but is probably the current state of the art, see Dragonbox https://github.com/jk-jeon/dragonbox

Note that they are both quite dense papers. I know first hand as I implemented Ryu for erlang 🥲

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant