ACM Home Page
Please provide us with feedback. Feedback
A gmp-based implementation of schönhage-strassen's large integer multiplication algorithm
Full text PdfPdf (296 KB)
Source
International Conference on Symbolic and Algebraic Computation archive
Proceedings of the 2007 international symposium on Symbolic and algebraic computation table of contents
Waterloo, Ontario, Canada
SESSION: Contributed papers table of contents
Pages: 167 - 174  
Year of Publication: 2007
ISBN:978-1-59593-743-8
Authors
Pierrick Gaudry  LORIA, CACAO
Alexander Kruppa  LORIA, CACAO
Paul Zimmermann  LORIA, CACAO
Sponsors
ACM: Association for Computing Machinery
SIGSAM: ACM Special Interest Group on Symbolic and Algebraic Manipulation
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 19,   Downloads (12 Months): 68,   Citation Count: 2
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1277548.1277572
What is a DOI?

ABSTRACT

Schönhage-Strassen's algorithm is one of the best known algorithms for multiplying large integers. Implementing it ef?ciently is of utmost importance, since many other algorithms rely on it as a subroutine. We present here an improved implementation, based on the one distributed within the GMP library. The following ideas and techniques were used or tried: faster arithmetic modulo 2n + 1, improved cache locality, Mersenne transforms, Chinese Remainder Reconstruction, the √2 trick, Harley's and Granlund's tricks, improved tuning.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Arndt, J. Algorithms for programmers (working title). Draft version of 2007-January-05, http://www.jjj.de/fxt/
 
2
Bailey, D. The computation of Π to 29,360,000 decimal digits using Borwein's quartically convergent algorithm. Math. Comp. 50 (1988),283--296.
 
3
 
4
Bernstein, D. J. Multidigit multiplication for mathematicians. http://cr.yp.to/papers.html#m3 2001.
 
5
Bernstein, D. J. Fast multiplication and its applications. http://cr.yp.to/papers.html#multapps 2004.
 
6
Bernstein, D. J. Removing redundancy in high-precision Newton iteration. http://cr.yp.to/fastnewton.html 2004.
 
7
Brent, R. P. Multiple-precision zero-finding methods and the complexity of elementary function evaluation. In Analytic Computational Complexity (1975), J. F. Traub, Ed., Academic Press, pp. 151--176.
 
8
Brent, R. P., and Pollard, J. M. Factorization of the eighth Fermat number. Math. Comp. 36 (1981), 627--630.
 
9
Brockmeyer, E., Ghez, C., D'Eer, J., Catthoor, F., and Man, H. D. Parametrizable behavioral IP module for a data-localized low-power FFT. In Proc. IEEE Workshop on Signal Processing Systems (SIPS) (1999), IEEE Press, pp. 635--644.
 
10
 
11
Crandall, R., and Pomerance, C. Prime Numbers: A Computational Perspective. Springer-Verlag, 2000.
 
12
Granlund, T. Personal communication, Dec. 2006.
 
13
Harley, R. Personal communication, Jan. 2000.
14
 
15
Knuth, D. The analysis of algorithms. In Actes du Congrès International des Mathématiciens de 1970 (1971), vol. 3, Gauthiers-Villars, pp. 269--274.
 
16
Moenck, R., and Borodin, A. Fast modular transforms via division. In Proceedings of the 13th Annual IEEE Symposium on Switching and Automata Theory (Oct. 1972), pp. 90--96.
 
17
 
18
Schönhage, A. Schnelle Berechnung von Kettenbruchentwicklungen. Acta Inform.1 (1971), 139--144.
 
19
Schönhage, A., and Strassen, V. Schnelle Multiplikation großer Zahlen.Computing 7 (1971), 281--292.
 
20
Steel, A. Magma V2.12-1 is up to 2.3 times faster than GMP 4.1.4 for large integer multiplication. http://magma.maths.usyd.edu.au/users/allan/intmult.html July 2005.
 
21
Steel, A. Reduce everything to multiplication. Computing by the Numbers: Algorithms, Precision, and Complexity, Workshop for Richard Brent's 60th birthday, Berlin, July 2006. http://www.mathematik.hu-berlin.de/~gaggle/EVENTS/2006/BRENT60/
22
 
23
 
24
Woltman, G., and Kurowski, S. The Great Internet Mersenne Prime Search. http://www.gimps.org/
 
25
Zimmermann, P., and Dodson, B. 20 years of ECM. In Proceedings of the 7th Al gorithmic Number Theory Symposium (ANTS VII)(2006), F. Hess, S. Pauli, and M. Pohst, Eds., vol. 4076 of Lecture Notes in Comput. Sci., Springer-Verlag, pp.525--542.


Collaborative Colleagues:
Pierrick Gaudry: colleagues
Alexander Kruppa: colleagues
Paul Zimmermann: colleagues