http://d.puremagic.com/issues/show_bug.cgi?id=2812

           Summary: sqrt(2.0) is about -2.7341e-53
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzi...@digitalmars.com
        ReportedBy: and...@metalanguage.com


import std.math, std.stdio;

void main()
{
    double x = sqrt(2.0);
    writeln(x);
}

prints

-2.7341e-53


-- 

Reply via email to