Q. Show the Complement Representation?
- There are two types of complements for each number system. r's and (r-1)'s complement ex.
decimal 10's and 9's complement
binary 2's and 1's complement
hex 16's and 15's complement
- The (r-1)'s complement and r's complement are used to represent negative numbers and Most computer architectures use the two's complement to represent negative numbers.
- The r's complement is acquired from the r-1 complement and adding a one.