BigIntHelper.isProbablePrime

Test whether BigInt n is prime. Step 1: millerRabinPrimeTest Step 2: lucasLehmerTest

struct BigIntHelper
static
bool
isProbablePrime
(
const BigInt n
,
const size_t confidence
)

Meta