[MPFR] Re: digits of Pi

Paul Zimmermann Paul.Zimmermann at loria.fr
Wed Jan 13 13:36:06 CET 2010


       Torbjörn,

>   I guess this is because mpn_mul did not improve in GMP 5.0.0 over 4.3.2
>   for huge operands (using FFT).
> 
> Yes it did!

are you sure? Here are some timings:

GMP 4.3.2:
achille% ./speed -s 20000000 mpn_mul_n
overhead 0.000000003 secs, precision 10000 units of 4.17e-10 secs, CPU freq 2400.00 MHz
            mpn_mul_n
20000000   38.094209000

GMP 5.0.0:
achille% ./speed -s 20000000 mpn_mul_n
overhead 0.000000003 secs, precision 10000 units of 4.17e-10 secs, CPU freq 2400.00 MHz
            mpn_mul_n
20000000   42.456546000

Paul


More information about the gmp-discuss mailing list