(r – 1) ’s compliment: (M – N) r This is similar to r’s compliment. There is a difference while dealing with the final carry we get If we have both M & N positives, then The Procedure for doing subtraction using (r – 1) ’s compliment is as follow: Take (r – 1) ’s compliment […]
Tag: COMPLIMENTS
Subtraction using compliments
Subtraction method mentioned earlier looks good when we do it on paper and pencil but to implement a subtraction method on a digital platform then subtraction using compliments is better and efficient. r’s compliment: If we are given numbers M & N with base r, then we can to have to find M – N […]
COMPLIMENTS
For a number system with base r (with r > 1), there are two types of compliments: r’s compliment (r-1) ‘s compliment r’s Compliment: If we have a positive number N with integer part of n digits then we define r’s compliment as 10’s compliment of number (5432) 10 is 104– 5432 = 10000 – 5432 = (4568) 10 […]