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

           Summary: std.conv.to!(string)(int.min)
           Product: D
           Version: 2.030
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: jul...@ozeful.be


Hello,

import  std.stdio,
              std.conv;

void main()
{
    writeln(to!(string)(int.min));
}


dmd 2.030, stock phobos, Intel Core i7.

On Debian 5 32b, -debug :
    returns "core.exception.rangeer...@std.conv(2473): Range violation".
On Windows XP 32b, -debug :
    returns "core.exception.rangeer...@std.conv(2472): Range violation".

On Debian 5 32b, -release :
    returns "-184¨šˆ¿4071562067968"
On Windows XP 32b, -release :
    returns "-18446744071562067968"

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

Reply via email to