Professional Documents
Culture Documents
COMPLEMENTS
TYPES OF COMPLEMENTS
Binary Decimal
r’s com - 2’com 1’com
(r-1)’s com - 10’ com 9’s com
r’S COMPLEMENT
N= positive number
R= base
n = no of integer digit
So formula…. r ^ n – N
(r-1)’S COMPLEMENT
N= positive number
R= base
n = no of integer digit
m = no of fraction digit
So formula…. r ^ n – r^(-m) - N
PRACTICE