Printing shortest decimal form of floating point number with Mir

9il ilyayaroshenko at gmail.com
Sun Dec 20 15:04:54 UTC 2020


On Monday, 14 December 2020 at 06:47:32 UTC, 9il wrote:
> Hi all,
>
> Generic version of Ryu algorithm [1] was ported to D, well 
> optimized, and adopted to mir packages.
>
> [...]

Default formatting has been reworked to be more human-friendly:
1.23e1 -> 1.23

https://github.com/ulfjack/ryu/tree/master/ryu

Microsoft, Clang++, and others are adopting Ryu as well.


More information about the Digitalmars-d-announce mailing list