Is mpz_legendre defined for p=2?

Andrew Friedley (CNS Student Support) saai@student.cns.uni.edu
Sat, 22 Feb 2003 21:00:56 -0600


Looking at the information on mpz_legendre() in the manual, it claims
that it is only defined for p being an odd positive prime.  I have tried
using mpz_legendre() with p=2 and it seems to work as expected, is this
correct?

-- 
Andrew Friedley