Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for probablyPrimeLucas (0.14 sec)

  1. src/math/big/prime.go

    		rB%29 == 0 || rB%31 == 0 || rB%41 == 0 || rB%43 == 0 || rB%47 == 0 || rB%53 == 0 {
    		return false
    	}
    
    	return x.abs.probablyPrimeMillerRabin(n+1, true) && x.abs.probablyPrimeLucas()
    }
    
    // probablyPrimeMillerRabin reports whether n passes reps rounds of the
    // Miller-Rabin primality test, using pseudo-randomly chosen bases.
    // If force2 is true, one of the rounds is forced to use base 2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
Back to top