patch for speed

paul zimmermann Paul.Zimmermann at
Tue Sep 10 13:14:30 UTC 2019


> Wouldn't that patch call mpz_legendre (a, p) with p not prime? Which is
> invalid, but kind-of works *because* mpz_legendre is an alias for
> mpz_jacobi.

good point. Do you want a new patch which ensures p is an odd positive prime?


More information about the gmp-devel mailing list