PHP. Руководство по PHP. 2005
gmp_legendre
gmp_legendre
Description
int gmp_legendre (resource a, resource p)Compute the - Legendre symbol of a and p. p should be odd and must be positive.
Пример 1. gmp_legendre() example
The printout of the above program will be:
|