PHP documentation.
Home / PHP / Manual / ...
(PHP 4 >= 4.0.4)
int gmp_legendre (resource a, resource p)
int gmp_legendre
Compute the Legendre symbol of a and p. p should be odd and must be positive.
Most recently updated on 11 May, 2003