[Issue 8929] New: long.min is a Voldermort literal
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 1 09:23:25 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8929
Summary: long.min is a Voldermort literal
Product: D
Version: D1 & D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: david.eckardt at sociomantic.com
--- Comment #0 from David Eckardt <david.eckardt at sociomantic.com> 2012-11-01 09:23:21 PDT ---
It cannot be named.
static assert (long.min == -9223372036854775807L);
// Error: static assert (-9223372036854775808L == -9223372036854775807L) is
false
static assert (long.min == -9223372036854775808L);
// Error: signed integer overflow
--
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