gmp_perfect_square

(PHP 4 >= 4.0.4)

gmp_perfect_square -- Perfect square check

Description

bool gmp_perfect_square (resource a)

Returns true if a is a perfect square, false otherwise.

See also: gmp_sqrt(), gmp_sqrtrm().