On 11/24/14 4:54 AM, Don wrote:
In D, 1u - 2u > 0u. This is defined behaviour, not an overflow.
I think I get what you mean, but overflow is also defined behavior (in D at least). -- Andrei
Andrei Alexandrescu via Digitalmars-d Mon, 24 Nov 2014 08:02:09 -0800
On 11/24/14 4:54 AM, Don wrote:
In D, 1u - 2u > 0u. This is defined behaviour, not an overflow.
I think I get what you mean, but overflow is also defined behavior (in D at least). -- Andrei