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