[Issue 3074] New: std.conv.to!(string)(int.min)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 17 00:04:07 PDT 2009
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: nobody at puremagic.com
ReportedBy: julien at 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.RangeError at std.conv(2473): Range violation".
On Windows XP 32b, -debug :
returns "core.exception.RangeError at 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: -------
More information about the Digitalmars-d-bugs
mailing list