4 ms·
But -1*INT_MIN is still 1 greater than INT_MAX in two's complement ... so that's signed overflow and thus undefined behavior in C. Assuming x86 signed overflow
by loeg 14y ago
But -1*INT_MIN is still 1 greater than INT_MAX in two's complement ... so that's signed overflow and thus undefined behavior in C.
Assuming x86 signed overflow behavior, you're just back to INT_MIN again? Or am I crazy?