Devoir de Philosophie

Complementary Number.

Publié le 12/05/2013

Extrait du document

Complementary Number. Complementary Number, in number theory, the number obtained by subtracting a number from its base. For example, the complement of 7 in numbers to base 10 is 3. Complementary numbers are necessary in computing, as the only mathematical operation of which digital computers (including pocket calculators) are directly capable is addition. Two numbers can be subtracted by adding one number to the complement of the other. Two numbers can be divided by using successive subtraction (which, using complements, becomes successive addition). Multiplication can be performed by using successive addition. The four main operations of arithmetic can thus all be reduced to various types of addition and be performed within the capability of a digital computer, using the binary number system. Microsoft ® Encarta ® 2009. © 1993-2008 Microsoft Corporation. All rights reserved.

Liens utiles