Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mpz_gcdext (0.16 sec)

  1. misc/cgo/gmp/gmp.go

    // If either a or b is not positive, GcdInt sets d = x = y = 0.
    func GcdInt(d, x, y, a, b *Int) {
    	d.doinit()
    	x.doinit()
    	y.doinit()
    	a.doinit()
    	b.doinit()
    	C.mpz_gcdext(&d.i[0], &x.i[0], &y.i[0], &a.i[0], &b.i[0])
    }
    
    // ProbablyPrime performs n Miller-Rabin tests to check whether z is prime.
    // If it returns true, z is prime with probability 1 - 1/4^n.
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
Back to top