Division Algorithm - Large Integer Methods

Large Integer Methods

Methods designed for hardware implementation generally do not scale to integers with thousands or millions of decimal digits; these frequently occur, for example, in modular reductions in cryptography. For these large integers, more efficient division algorithms transform the problem to use a small number of multiplications, which can then be done using an asymptotically efficient multiplication algorithm such as the Karatsuba algorithm, Toom–Cook multiplication or the Schönhage–Strassen algorithm. It results that the computational complexity of the division is of the same order (up a multiplicative constant) as that of the multiplication. Examples include reduction to multiplication by Newton's method as described above as well as the slightly faster Barrett reduction algorithm. Newton's method's is particularly efficient in scenarios where one must divide by the same divisor many times, since after the initial Newton inversion only one (truncated) multiplication is needed for each division.

Read more about this topic:  Division Algorithm

Famous quotes containing the words large and/or methods:

    The future of humanity is uncertain, even in the most prosperous countries, and the quality of life deteriorates; and yet I believe that what is being discovered about the infinitely large and infinitely small is sufficient to absolve this end of the century and millennium. What a very few are acquiring in knowledge of the physical world will perhaps cause this period not to be judged as a pure return of barbarism.
    Primo Levi (1919–1987)

    With a generous endowment of motherhood provided by legislation, with all laws against voluntary motherhood and education in its methods repealed, with the feminist ideal of education accepted in home and school, and with all special barriers removed in every field of human activity, there is no reason why woman should not become almost a human thing. It will be time enough then to consider whether she has a soul.
    Crystal Eastman (1881–1928)