|--- |FIXED
--- Comment #12 from Dlang Bot ---
dlang/phobos pull request #7951 "std.format: Replace snprintf for x87-reals"
was merged into master:
- c75bd8756d148cf3de0b44fd71d4f667da44ef6c by berni44:
Fix Issue 8424 - Compile time conversions of double/floats to strings
https://
---
@berni44 created dlang/phobos pull request #7951 "std.format: Replace snprintf
for x87-reals" fixing this issue:
- Fix Issue 8424 - Compile time conversions of double/floats to strings
https://github.com/dlang/phobos/pull/7951
--
https://issues.dlang.org/show_bug.cgi?id=8424
--- Comment #10 from Berni44 ---
(In reply to Nick Treleaven from comment #8)
> Looks like this is implemented pending release:
> https://dlang.org/changelog/pending.html#formatting_floats_in_CTFE
Yet only for float and double; reals are still
https://issues.dlang.org/show_bug.cgi?id=8424
Berni44 changed:
What|Removed |Added
CC||bugzi...@bernis-buecher.de
--- Comment #9 from
https://issues.dlang.org/show_bug.cgi?id=8424
--- Comment #8 from Nick Treleaven ---
Looks like this is implemented pending release:
https://dlang.org/changelog/pending.html#formatting_floats_in_CTFE
--
https://issues.dlang.org/show_bug.cgi?id=8424
Walter Bright changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
https://issues.dlang.org/show_bug.cgi?id=8424
Seb changed:
What|Removed |Added
CC||greeen...@gmail.com
--- Comment #7 from Seb ---
https://issues.dlang.org/show_bug.cgi?id=8424
--- Comment #6 from Witold Baryluk ---
BTW. Mixing is not needed to trigger the issue:
import std.conv : to;
enum x = to!string(0.1);
is enough:
/usr/lib/ldc/x86_64-linux-gnu/include/d/std/exception.d(516): Error: uncaught
CTFE exception
https://issues.dlang.org/show_bug.cgi?id=8424
Witold Baryluk changed:
What|Removed |Added
CC||witold.barylu...@gmail.com
--- Comment #5
https://issues.dlang.org/show_bug.cgi?id=8424
Nick Treleaven changed:
What|Removed |Added
CC||n...@geany.org
See Also|
https://issues.dlang.org/show_bug.cgi?id=8424
b2.t...@gmx.com changed:
What|Removed |Added
CC||turkey...@gmail.com
--- Comment #3 from
https://issues.dlang.org/show_bug.cgi?id=8424
Andrei Alexandrescu changed:
What|Removed |Added
Keywords||bootcamp
https://issues.dlang.org/show_bug.cgi?id=8424
ag0ae...@gmail.com changed:
What|Removed |Added
CC||timothee.co...@gmail.com
--- Comment #2
https://issues.dlang.org/show_bug.cgi?id=8424
--- Comment #1 from hst...@quickfur.ath.cx ---
The use of snprintf also causes other issues like purity/safety issues. I think
we should roll our own native D implementation of these conversions so that
it's usable in pure/safe/@nogc/ctfe.
--
https://issues.dlang.org/show_bug.cgi?id=8424
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--
15 matches
Mail list logo