Diminished Radix Complement Number systems (1)
Diminished radix complement [N]r-1 of a number (N)r is:
[N]r-1 = rn - (N)r - 1 (1.10)
One’s complement (r = 2):
[N]2-1 = 2n - (N)2 - 1 (1.11)
Example: One’s complement of (01100101)2
[N]2-1 = 28 - (01100101)2 - 1
= (100000000)2 - (01100101)2 - (00000001)2
= (10011011)2 - (00000001)2
= (10011010)2