Radix Complement Number Systems (5)
Example: Two's complement number system representation of -(18)10 , n = 8:
- +(18)10 = (0, 0010010)2cns
- -(18)10 = [0, 0010010]2 = (1, 1101110)2cns
Example: Decimal representation of N = (1, 1101000)2cns
- N = (1, 1101000)2cns = -[1, 1101000]2 = -(0, 0011000)2cns = -(24)2 .