A gmp-based implementation of schönhage-strassen's large integer multiplication algorithm
A gmp-based implementation of schönhage-strassen's large integer multiplication algorithm
复制标题
schönhage-strassen 大整数乘法算法的基于 gmp 的实现
DOI:
10.1145/1277548.1277572
复制
发表时间:
2007
期刊:
影响因子:
--
通讯作者:
P. Zimmermann
中科院分区:
文献类型:
--
作者:
P. Gaudry;A. Kruppa;P. Zimmermann
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.