diminished radix complement

 

The diminished radix complement of an n digit number y in radix b is defined to be (b^n - 1) - y. Therefore, the radix complement of a number y is the number that when added to y causes the sum to be the largest possible number that can be store in n digits.

The radix complement of a decimal number is known as the tens’s complement while the radix complement of a binary number is called the two’s complement.

« Back to Glossary Index
 Posted by at 1:54 pm

  5 Responses to “diminished radix complement”

  1. Could you explain why the diminished radix complement is b^n-1-y? I don’t think I fully understand the concept of a radix complement.

    How would you find a 8’s complement of a n-digit base 10 number?

  2. “The radix complement of a decimal number is known as the ten’s complement while the radix complement of a binary number is called the two’s complement.” quote from http://www.neuraldump.com/glossary/radix-complement/

    “The radix complement of a decimal number is known as the nines’s complement while the radix complement of a binary number is called the one’s complement.” quote from this article.

    Is there some wrong in this article ?

    • What’s wrong is that I cut and pasted from one to the other and forgot to change the names in this one. Thank you very much for the heads up. I have corrected my mistake.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

(required)

(required)