Jacobi/Legendre/Kronecker

Torbjorn Granlund tg at gmplib.org
Mon Dec 17 17:05:35 CET 2012


nisse at lysator.liu.se (Niels Möller) writes:

  I haven't thought about the interface issues, I guess public functions
  with single limb (or unsigned long) inputs would make sense for both
  jacobi and gcd.
  
It is a pity people will need to locate mpz_kronecker_ui when they want
a plain Legendre symbol.  I don't think the Legendre -> Jacobi ->
Kronecker generalisations are so widely know that people will
automatically look for functions with the other names.

-- 
Torbjörn


More information about the gmp-devel mailing list