skip to content
1 of 2

R’S COMPLIMENTS

R’S COMPLIMENTS

Complements are classified into two types based on each base r system:

  1. r’s Complement or Radix Compliment.
  2. (r-1)’s Complement or Diminished radix complement.

Radix Complement (r’s complement)

 

If N is a positive number with base r and having n integer digits, the r’s complement of N is defined as

r’s complement = rn – N

where r = radix(base) of the number system
n= number of integer digits.
N= given positive number.

Also, r’s complement = (r-1)’s complement + 1

 

Example: Find 10’s complement of (645.783)10

Solution: The given number, N= 645.783 and here n = 3
so, 10’s complement = 103 – 645.783 = 354.217