PHP » GoLang |
login |
register |
about
|
gmp_prob_prime(PHP 4 >= 4.0.4, PHP 5, PHP 7) gmp_prob_prime — Check if number is "probably prime" DescriptionThe function uses Miller-Rabin's probabilistic test to check if a number is a prime. Parameters
Return Values
If this function returns 0, Examples
Example #1 gmp_prob_prime() example
<?php The above example will output: 0 1 2 |
more
Recently updated
more
Most requested
more
Last requests
|