I'm reading this article about offset-k method of representing negative integers. Can someone please explain the following passage using some examples:
One logical way to represent signed integers is to have enough range in binary numbers so that the zero can be offset to the middle of the range of positive binary numbers. Then the magnitude of a negative binary number can be simply subtracted from that zero point.
I understand the mechanics, e.g. to represent number 4 in 11 bits, I'll do
4+1023=1027, but can't understand the logic behind it and why it works.