[Issue 17628] formattedWrite is impure on double

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jul 10 15:52:07 PDT 2017


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

Seb <greensunny12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greensunny12 at gmail.com

--- Comment #2 from Seb <greensunny12 at gmail.com> ---
> which I think may change FPU flags or something

A hack would to create a pureSnprintf which resets errno to the value before
its execution.

There are talks about doing this for free:

https://github.com/dlang/druntime/pull/1836

--


More information about the Digitalmars-d-bugs mailing list