float/double to string (pure nothrow @nogc)

ketmar ketmar at ketmar.no-ip.org
Wed Aug 8 18:59:49 UTC 2018


vit wrote:

> thanks, that code can be modified to pure nothrow @nogc @safe.
> Is that lib ok? Is little complicated...

converting float to string is a *very* complicated task. that lib is quite 
small for what it is doing ('cause it hacks around some... interesting 
cases). the *real* thing will be a LOT bigger.


More information about the Digitalmars-d-learn mailing list