Extracted from Pike v7.6 release 61 at 2005-12-30.
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

This function returns 1 if mpz is a prime, and 0 most of the time if it is not.