patch for speed

Marco Bodrato bodrato at
Tue Sep 10 06:04:31 UTC 2019

Ciao Paul,

Il Lun, 9 Settembre 2019 8:10 pm, paul zimmermann ha scritto:
> maybe one day mpz_legendre and mpz_jacobi will differ. In that case the
> patch will be useful. Otherwise why two functions?

Not two functions, but three names (at the source level only).

Yes, we have also

#define mpz_kronecker mpz_jacobi  /* alias */


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.


More information about the gmp-devel mailing list