![]() | isPrimeisProbablyPrime Method (Int64, Int32, RandomGenerator) |
Namespace: NumberStone
public static bool isProbablyPrime( this long x, int iterations = 64, RandomGenerator generator = null )
means that x is definitely not prime, means the number is prime to (1-0.5^iterations) certainty.