Function checkPrimeSync

  • Checks the primality of the candidate.

    Parameters

    Returns boolean

    true if the candidate is a prime with an error probability less than 0.25 ** options.checks.

    v15.8.0