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

Prev:miller-rabin ( n -- ? )


Vocabulary
math.primes.miller-rabin

Inputs
nan integer
numtrialsan integer


Outputs
?a boolean


Word description
Performs numtrials trials of the Miller-Rabin probabilistic primality test algorithm and returns true if prime.

See also
miller-rabin

Definition