[Issue 10093] wrong unsigned arithmetic
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu May 16 11:11:40 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10093
--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> 2013-05-16 11:11:38 PDT ---
(In reply to comment #2)
> Should a negative unsigned number even compile?
Debatable, but since it compiles in C, and is frequently used (-1u is
0xffffffff), I think it will continue to compile.
> As far as I know, Visual C++ issues a warning in that case.
But still compiles, right? C is full of questionable, yet valid, behavior.
--
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