Jacobi/Legendre/Kronecker

Torbjorn Granlund tg at gmplib.org
Mon Dec 17 17:12:03 CET 2012


Zimmermann Paul <Paul.Zimmermann at loria.fr> writes:

  this is strange, since from the documentation mpz_jacobi(A,15) should work
  but mpz_legendre(A,15) should be undefined. If no check is done at all, I
  do not see why there are 3 different functions.
  
But mpz_legendre(A,15) is undefined!  It might appear to return the
value mpz_jacobi(A,15) in the current releases, but that is a complete
coincidence.  :-)
  

-- 
Torbjörn


More information about the gmp-devel mailing list