[Issue 3147] Incorrect value range propagation for addition

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 16 13:55:28 PST 2010


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



--- Comment #3 from Andrei Alexandrescu <andrei at metalanguage.com> 2010-11-16 13:54:16 PST ---
The point is not to ascribe the smallest static type to the result. That would
break compatibility with C in many ways. All that happens is the compiler
tracks the range of the expression statically while using the same typing rules
as C.

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