prime?(p1 = v1) public

Performs a Miller-Rabin probabilistic primality test with checks iterations. If checks is not specified, a number of iterations is used that yields a false positive rate of at most 2^-80 for random input.


  • checks - integer

Show source
Register or log in to add new notes.