Remix.run Logo
Symmetry 2 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.

aw1621107 2 hours ago | parent [-]

Interestingly, C23 and C++20 standardized 2's complement representation for signed integers but kept UB on signed overflow.