[Issue 9297] Formatting of floating point values in std.format truncates reals to double
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Sep 15 02:40:33 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9297
Doug Nickerson <Tachyon165 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Tachyon165 at gmail.com
--- Comment #2 from Doug Nickerson <Tachyon165 at gmail.com> 2013-09-15 02:40:20 PDT ---
Using DMD 2.063.2 on Win7 64-bit it doesn't appear to be casting to double when
compiling with the -m64 flag. When using the "s" "f" or "a" format characters
and a real value I get 0 in the output. I can manually cast to double and it
works fine (truncating though I presume).
Interestingly, when I remove the -m64 option it works for reals and double.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list