[Issue 3147] Incorrect value range propagation for addition

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 16 05:35:00 PDT 2011


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



--- Comment #11 from bearophile_hugs at eml.cc 2011-06-16 05:30:16 PDT ---
This example was in bug 5528:

void main() {
    uint i = 10;
    ubyte x1 = i % ubyte.max;
    ulong l = 10;
    uint x2 = l % uint.max;
}

-- 
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