http://d.puremagic.com/issues/show_bug.cgi?id=11183
Summary: Win64: lrint yields bad results Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: r.sagita...@gmx.de --- Comment #0 from Rainer Schuetze <r.sagita...@gmx.de> 2013-10-06 09:14:32 PDT --- module test; import std.math; import std.stdio; void main() { asm { mov RAX,-1; } real x = lrint(5.5); writeln(x); } compiled with "dmd -m64 test.d" prints 3.43077e-317 Fix is part of this pull request: https://github.com/D-Programming-Language/phobos/pull/1411/files#diff-8b9f1870415268a4c40b628d596dc405L3188 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------