Printing floating points

Stefan Koch uplink.coder at googlemail.com
Thu Jan 21 14:13:32 UTC 2021


On Thursday, 21 January 2021 at 14:02:52 UTC, deadalnix wrote:
> https://forum.dlang.org/post/r1hsv2$tt0$1@digitalmars.com
>
> On Thursday, 6 February 2020 at 20:29:31 UTC, Walter Bright 
> wrote:
>>[...]
>
> While we are on this, I should point out that there has been a 
> major breakthrough on the matter fairly recently called ryu.
>
> I invite everyone who has an interest in printing floating to 
> look at it. Here are a few useful links:
>
> The original paper: 
> https://dl.acm.org/doi/pdf/10.1145/3296979.3192369
> Another paper: https://dl.acm.org/doi/pdf/10.1145/3360595
>
> Source code in various languages: https://github.com/ulfjack/ryu

I think Ilya has implemented this in mir already.
ryu is less of a breakthrough imo.
It's a modification of grisu2 (hence the name ryu (dragon in 
Japanese))


More information about the Digitalmars-d mailing list