ң

gmp_prob_prime

(PHP 4 >= 4.0.4)

gmp_prob_prime - , "probably prime/ ".

int gmp_prob_prime (resource a [, int reps])

0, a . 1, a "" . 2, a . reps 5 10 ( 10); - "probable" prime.

Miller'-Rabin'.


ң
gmp_powm gmp_random