Method of Complements

In mathematics and computing, the method of complements is a technique used to subtract one number from another using only addition of positive numbers. This method was commonly used in mechanical calculators and is still used in modern computers. To subtract a number y (the subtrahend) from another number x (the minuend), the radix complement of y is added to x and the initial '1' of the result is discarded. Discarding the initial '1' is especially convenient on calculators or computers that use a fixed number of digits: there is nowhere for it to go so it is simply lost during the calculation.

Read more about Method Of Complements:  Numeric Complements, Decimal Example, Binary Example, Negative Number Representations, Practical Uses, In Highschool Education

Famous quotes containing the words method of and/or method:

    Direct action ... is the logical, consistent method of Anarchism.
    Emma Goldman (1869–1940)

    The good husband finds method as efficient in the packing of fire-wood in a shed, or in the harvesting of fruits in the cellar, as in Peninsular campaigns or the files of the Department of State.
    Ralph Waldo Emerson (1803–1882)