Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1837934.1837995acmotherconferencesArticle/Chapter ViewAbstractPublication PagesissacConference Proceedingsconference-collections
research-article

Iterative Toom-Cook methods for very unbalanced long integer multiplication

Published: 25 July 2010 Publication History
  • Get Citation Alerts
  • Abstract

    We consider the multiplication of long integers when one factor is much larger than the other one. We describe an iterative approach using Toom-Cook unbalanced methods, which results in the evaluation of the smaller integer only once. The particular case of Toom-2.5 is considered in full detail. A further optimization depending on the parity of the shortest operand evaluation in 1 is also described. A comparison with GMP library is also presented.

    References

    [1]
    Anonymous. Personal communication, 2010.
    [2]
    Marco Bodrato. High degree Toom'n'half for balanced and unbalanced multiplication. In preparation.
    [3]
    Marco Bodrato. Towards optimal Toom-Cook multiplication for univariate and multivariate polynomials in characteristic 2 and 0. In Claude Carlet and Berk Sunar, editors, WAIFI '07 proceedings, volume 4547 of LNCS. Springer, June 2007.
    [4]
    Marco Bodrato and Alberto Zanoni. Integer and polynomial multiplication: Towards optimal Toom-Cook matrices. In Christopher W. Brown, editor, Proceedings of the ISSAC 2007 Conference. ACM press, July 2007.
    [5]
    Stephen A. Cook. On the minimum computation time of functions. PhD thesis, Department of Mathematics, Harvard University, 1966.
    [6]
    Richard Crandall and Barry Fagin. Discrete weighted transforms and large integer arithmetic. Mathematics of computation, 62:305--324, 1994.
    [7]
    Tom St Denis, Mads Rasmussen, and Greg Rose. Multi-precision math (tommath library documentation). http://math.libtomcrypt.com/files/tommath.pdf.
    [8]
    Torbjörn Granlund. The GNU multiple precision (GMP) library. http://gmplib.org/.
    [9]
    Anatolii Alexeevich Karatsuba and Yuri Ofman. Multiplication of multidigit numbers on automata. Soviet Physics Doklady, 7(7):595--596, 1963.
    [10]
    Donald E. Knuth. The art of computer programming, volume 2 (3rd ed.): seminumerical algorithms. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 1997.
    [11]
    Peter L. Montgomery. An FFT extension of the elliptic curve method of factorization. PhD thesis, University of California, 1992.
    [12]
    A. Schönhage and V. Strassen. Schnelle Multiplikation großer Zahlen. Computing, 7(3--4):281--292, 1971.
    [13]
    Andrei L. Toom. The complexity of a scheme of functional elements realizing the multiplication of integers. Soviet Mathematics Doklady, 3:714--716, 1963.
    [14]
    André Weimerskirch and Christof Paar. Generalizations of the Karatsuba algorithm for polynomial multiplication. Technical report, Ruhr-Universität-Bochum, 2003.
    [15]
    Alberto Zanoni. Some Toom-Cook methods for even long integers. In Daniel Breaz, Nicoleta Breaz, and Dorin Wainberg, editors, Proceedings of ICTAMI 2009, pages 807--828. Aeternitas Publishing House 2009.
    [16]
    Dan Zuras. More on squaring and multiplying large integers. IEEE Transactions on Computers, 43(8):899--908, August 1994.

    Cited By

    View all
    • (2024)Fault-Tolerant Parallel Integer MultiplicationProceedings of the 36th ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3626183.3659961(207-218)Online publication date: 17-Jun-2024
    • (2023)Sequential and parallel sliding window algorithms for multiplying large integersJournal of King Saud University - Computer and Information Sciences10.1016/j.jksuci.2023.02.01135:3(131-140)Online publication date: 1-Mar-2023
    • (2020)Speeding up the Multiplication Algorithm for Large IntegersEngineering, Technology & Applied Science Research10.48084/etasr.393210:6(6533-6541)Online publication date: 20-Dec-2020
    • Show More Cited By

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    ISSAC '10: Proceedings of the 2010 International Symposium on Symbolic and Algebraic Computation
    July 2010
    366 pages
    ISBN:9781450301503
    DOI:10.1145/1837934
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    • Gesellschaft fur Informtatik

    In-Cooperation

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 25 July 2010

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Toom-Cook
    2. interpolation
    3. long integer multiplication

    Qualifiers

    • Research-article

    Conference

    ISSAC '10
    Sponsor:

    Acceptance Rates

    ISSAC '10 Paper Acceptance Rate 45 of 110 submissions, 41%;
    Overall Acceptance Rate 395 of 838 submissions, 47%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)12
    • Downloads (Last 6 weeks)0

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Fault-Tolerant Parallel Integer MultiplicationProceedings of the 36th ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3626183.3659961(207-218)Online publication date: 17-Jun-2024
    • (2023)Sequential and parallel sliding window algorithms for multiplying large integersJournal of King Saud University - Computer and Information Sciences10.1016/j.jksuci.2023.02.01135:3(131-140)Online publication date: 1-Mar-2023
    • (2020)Speeding up the Multiplication Algorithm for Large IntegersEngineering, Technology & Applied Science Research10.48084/etasr.393210:6(6533-6541)Online publication date: 20-Dec-2020
    • (2017)Massively Distributed Environments and Closed Itemset Mining: The DCIM ApproachAdvanced Information Systems Engineering10.1007/978-3-319-59536-8_15(231-246)Online publication date: 27-May-2017
    • (2011)Long Integers and Polynomial Evaluation with Estrin's SchemeProceedings of the 2011 13th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing10.1109/SYNASC.2011.17(39-46)Online publication date: 26-Sep-2011
    • (2011)High Degree Toom'n'Half for Balanced and Unbalanced MultiplicationProceedings of the 2011 IEEE 20th Symposium on Computer Arithmetic10.1109/ARITH.2011.12(15-22)Online publication date: 25-Jul-2011

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media