[Issue 3735] op=
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 18 16:36:54 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3735
--- Comment #5 from timon.gehr at gmx.ch 2012-01-18 16:36:54 PST ---
(In reply to comment #4)
> byte a = cast(byte) 0b11110000; // why does it insist on a cast?
Because 240 does not fit inside the range -128 to 127.
static assert(0b11110000 != cast(byte)0b11110000);
--
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