in reply to Flipping partial bits


From your description, I'd say that jwkrahn is correct, and that it's essentially the two's complement of a number from -128 to 127. The advantage of two's complement is that addition "just works" and you don't need to do any special logic to handle the sign.


When your only tool is a hammer, all problems look like your thumb.