In computers, signed integers are actually represented quite similar to this, as two’s complements, as a trick to reuse the exact same logical components to perform sums of both positive and negative numbers.
In computers, signed integers are actually represented quite similar to this, as two’s complements, as a trick to reuse the exact same logical components to perform sums of both positive and negative numbers.