twos-complement notation
All > Technology > Programming > Java
- In twos-complement notation, the most significant bit in an integer value is used as the sign bit. A
1bit indicates a negative number, and a0bit indicates a positive number. A positive number can be converted to its negative value by complementing the bit pattern and adding1. The same operation is used to convert a negative value to its positive equivalent.
David J. Barnes - Cite This Source - This Definition - dotted decimal notation, integer, quotient, sign bit, sign extension