www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11183] New: Win64: lrint yields bad results


           Summary: Win64: lrint yields bad results
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: r.sagitario gmx.de

--- Comment #0 from Rainer Schuetze <r.sagitario 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);

compiled with "dmd -m64 test.d" prints


Fix is part of this pull request:

Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 06 2013