paul zimmermann <paul.zimmerm...@inria.fr> writes: >> Adding a different symbol in the library for mpz_kronecker or >> mpz_legendre, would be an incompatible change to the interface. Not likely >> in the near future. > > ok, then what about the original subject (adding mpz_legendre to speed)?
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. So benchmarking mpz_legendre in this way doesn't make much sense to me. What utility do you see? Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677. Internet email is subject to wholesale government surveillance. _______________________________________________ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel