miller-rabin ( n -- ? )
Miller-Rabin probabilistic primality test

Next:miller-rabin* ( n numtrials -- ? )


Vocabulary
math.primes.miller-rabin

Inputs
nan integer


Outputs
?a boolean


Word description
Returns true if the number is a prime. Calls miller-rabin* with a default of 10 Miller-Rabin tests.

See also
miller-rabin*

Definition