Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for mpz_probab_prime_p (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Click Count (0)
Back to Top