strange behaviour of mpz_jacobi

Paul Zimmermann Paul.Zimmermann at loria.fr
Mon Nov 30 11:07:24 CET 2009


       Hi,

I have noticed the following strange behaviour of mpz_jacobi on a Core 2,
with GMP 4.3.1:

tarte% ./speed -s 507-517 mpz_jacobi
overhead 0.000000002 secs, precision 10000 units of 3.53e-10 secs, CPU freq 2833.00 MHz
           mpz_jacobi
507       0.008363055
508       0.009152196
509       0.010998000
510       0.016997000
511       0.007441896
512       0.007531189
513       0.007539446
514       0.016997000
515       0.010998000
516       0.009297833
517       0.008712443

Notice the much larger times for 510 and 514. Can someone reproduce that?

Paul


More information about the gmp-devel mailing list