symmetric signed types

eles eles at eles.com
Fri Jan 24 03:43:07 PST 2014


On Friday, 24 January 2014 at 10:40:46 UTC, Dominikus Dittes 
Scherkl wrote:
> On Thursday, 23 January 2014 at 20:35:56 UTC, Andrei 
> Alexandrescu wrote:

> int a = 2_000_000_000;
> int b = a + a;
>
> should not generate weird stuff like -294_967_296 (which it

Long discussion about signed/unsigned integer overflows...


More information about the Digitalmars-d mailing list