Proceedings of the 2007 International Symposium on Symbolic and Algebraic Computation 2007
DOI: 10.1145/1277548.1277572
|View full text |Cite
|
Sign up to set email alerts
|

A gmp-based implementation of schönhage-strassen's large integer multiplication algorithm

Abstract: Schönhage-Strassen's algorithm is one of the best known algorithms for multiplying large integers. Implementing it efficiently 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 2 n + 1, improved cache locality, Mersenne transforms, Chinese Remainder Reconstruction, the √ 2 trick, Harley's and Granlund's tr… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
29
0
1

Year Published

2007
2007
2022
2022

Publication Types

Select...
6
1
1

Relationship

2
6

Authors

Journals

citations
Cited by 32 publications
(30 citation statements)
references
References 16 publications
0
29
0
1
Order By: Relevance
“…We modified the GMP library with an improved FFT multiplication code [8]. We compare our results with the two programs mentioned in Section 2, which compute digits of π using Formula (3).…”
Section: Resultsmentioning
confidence: 99%
“…We modified the GMP library with an improved FFT multiplication code [8]. We compare our results with the two programs mentioned in Section 2, which compute digits of π using Formula (3).…”
Section: Resultsmentioning
confidence: 99%
“…In this connection we mention the improvements in multiplication speed reported by [GKZ07]; their paper also gives comparisons with other implementations of large-integer arithmetic.…”
Section: Performance Datamentioning
confidence: 96%
“…In our experiments we used the scaled remainder tree [9], which replaces most division steps in the remainder tree by multiplications. This algorithm is fastest when fft multiplications are done modulo numbers of the form 2 α − 1: we used this Mersenne fft multiplication as well, as implemented in Gaudry, Kruppa and Zimmermann's gmp patch [24]. Other optimizations included computing the product z only once, and treating the prime 2 separately.…”
Section: Bernstein's Smoothness Detection Algorithmmentioning
confidence: 99%