algorithmica icon indicating copy to clipboard operation
algorithmica copied to clipboard

State of the art for printing floating point numbers

Open DianaOlympos opened this issue 1 year ago • 0 comments

in https://github.com/algorithmica-org/algorithmica/blob/ed1945c3d2de8548b1c744d3161eb668703db808/content/english/hpc/arithmetic/ieee-754.md?plain=1#L115 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 :smiling_face_with_tear:

DianaOlympos avatar Apr 29 '23 17:04 DianaOlympos