[Tutor] pickle problems

Dave Angel d at davea.name
Thu Aug 23 05:39:46 CEST 2012


On 08/22/2012 07:32 PM, Richard D. Moores wrote:
> <snip>
>
> My code uses gmpy2.is_prime()  (lines 79 and 89). is_prime() is VERY fast.

You do know that this gmpy2 function is only statistically correct ?  it
can false positive.  I don't know what the probs are, but it uses
Miller-Rabin, with a default factor of 25.




-- 

DaveA



More information about the Tutor mailing list