Comment by Symmetry
6 hours ago
Specifically, C comes form a world where allowing for machines that didn't use 2's compliment (or 8 bit bytes) was an active concern.
6 hours ago
Specifically, C comes form a world where allowing for machines that didn't use 2's compliment (or 8 bit bytes) was an active concern.
Interestingly, C23 and C++20 standardized 2's complement representation for signed integers but kept UB on signed overflow.