Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Gmp
Gmp.mpz

Method Gmp.mpz()->probably_prime_p()


Method probably_prime_p

int(0..1) probably_prime_p()

Description

Return 1 if this mpz object is a prime, and 0 most of the time if it is not.