primorial(negative)

Jerome BENOIT sphericaltriangle at rezozer.net
Fri Nov 13 17:43:03 UTC 2015


Hello List:

On 13/11/15 18:17, Marco Bodrato wrote:
> Ciao Paul,
> 
> Il Ven, 13 Novembre 2015 2:56 pm, paul zimmermann ha scritto:
>> you can also consider the file utils/getprime.c from CADO-NFS:
> 
>> This is almost 1000 times faster than GMP.
> 
> Hard to compare, there is no such function for GMP :-)
> 
> But, that's a good challenge, thanks!
> 
> I'll try to write a gmp_numberofprimesupto_ui function using GMP
> _internals_, so that we can compare timings and decide if we need to
> rewrite the functions we have or we simply have to expose them.


For timing, you may also consider primesierve: http://primesieve.org/

hth,
Jerome

> 
> Best regards,
> m
> 


More information about the gmp-discuss mailing list