http://d.puremagic.com/issues/show_bug.cgi?id=5649
Summary: std.conv.parse faulty for floating point with -O -m32 Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: acehr...@yahoo.com --- Comment #0 from Ali Cehreli <acehr...@yahoo.com> 2011-02-23 20:33:02 PST --- The following assert fails when compiled with dmd's command line options -O -m32: import std.conv; void main() { char[] input = "1.5e3".dup; assert(1500 == parse!double(input)); // <-- FAILS } It fails for float and real as well. Please note that this combination works: -O -m64 Ali -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------