2’s Complement Precision Extension
Most computers today support 32-bit (int) or 64-bit integers
- 64-bit using gcc is long long
- 64-bit using Digital/Compaq compiler is long
To extend precision do sign bit extension
- precision is number of bits used to represent a number
Example
1410 = 0011102 in 6-bit representation.
1410 = 0000000011102 in 12-bit representation
-1410 = 1100102 in 6-bit representation
-1410 = 1111111100102 in 12-bit representation.