[Issue 19124] Investigate using RYU to convert floats to strings

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 27 12:41:26 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=19124

Nick Treleaven <nick at geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at geany.org

--- Comment #2 from Nick Treleaven <nick at geany.org> ---
> It would also allow to get it to!string, format working at CTFE
> for float and double

Stefan Koch has ported "a short and efficient implementation of the grisu2
algorithm" to CTFEable D code:

https://forum.dlang.org/post/pfnyycxolnrlxtgzimgp@forum.dlang.org

He says "ryu however looks less fast for ctfe purposes":

https://forum.dlang.org/post/xjfdoivmtfgiwgxkhani@forum.dlang.org

--


More information about the Digitalmars-d-bugs mailing list