algorithmica-org/algorithmica

State of the art for printing floating point numbers

DianaOlympos opened this issue · 0 comments

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 🥲