include Funarith.Int.FULL with type t = Z.t
val hash : t ‑> int
val probab_prime : t ‑> int ‑> int
probab_prime n strength
is a sound, fast, but incomplete
primality checker.
It must return:
0
if n
is not a prime1
if n
might be a prime2
if n
is a primeIf the answer is 0
or 1
then it must be valid.