- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for mpz_probab_prime_p (0.13 sec)
-
misc/cgo/gmp/gmp.go
// If it returns true, z is prime with probability 1 - 1/4^n. // If it returns false, z is not prime. func (z *Int) ProbablyPrime(n int) bool { z.doinit() return int(C.mpz_probab_prime_p(&z.i[0], C.int(n))) > 0
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K bytes - Viewed (0)