[Issue 17628] formattedWrite is impure on double
https://issues.dlang.org/show_bug.cgi?id=17628 berni44 changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@d-ecke.de Resolution|--- |DUPLICATE --- Comment #5 from berni44 --- *** This issue has been marked as a duplicate of issue 7438 *** --
[Issue 17628] formattedWrite is impure on double
https://issues.dlang.org/show_bug.cgi?id=17628 berni44 changed: What|Removed |Added CC||lt.infiltra...@gmail.com --- Comment #4 from berni44 --- *** Issue 15321 has been marked as a duplicate of this issue. *** --
[Issue 17628] formattedWrite is impure on double
https://issues.dlang.org/show_bug.cgi?id=17628 Eduard Staniloiuchanged: What|Removed |Added CC||edi33...@gmail.com --- Comment #3 from Eduard Staniloiu --- Since `pureMalloc`, `pureCalloc` and `pureFree` got accepted[0], maybe we could do the same for `sprintf` and `snprintf`? [0] - https://github.com/dlang/druntime/pull/1836 --
[Issue 17628] formattedWrite is impure on double
https://issues.dlang.org/show_bug.cgi?id=17628 Sebchanged: What|Removed |Added CC||greensunn...@gmail.com --- Comment #2 from Seb --- > 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 --
[Issue 17628] formattedWrite is impure on double
https://issues.dlang.org/show_bug.cgi?id=17628 --- Comment #1 from Vladimir Panteleev--- Missing: import std.array : appender; Seems to be impure because it calls snprintf (which I think may change FPU flags or something). --