On Tuesday, 26 March 2013 at 18:48:27 UTC, Andrei Alexandrescu wrote:
D obeys two's complement overflow rules for its signed and unsigned arithmetic. TDPL defines a checked integer type as an example of operator overloading.

I guess my searches for "overflow", "underflow", "modulus", etc missed that :-)

BTW, Andrei, what do you think the impact of this is for embedded systems with unusual word lengths (combined with D's well-defined type sizes)?

Reply via email to