Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for mpz_clear (0.1 seconds)

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

  1. misc/cgo/gmp/gmp.go

    		return "nil"
    	}
    	z.doinit()
    	p := C.mpz_get_str(nil, 10, &z.i[0])
    	s := C.GoString(p)
    	C.free(unsafe.Pointer(p))
    	return s
    }
    
    func (z *Int) destroy() {
    	if z.init {
    		C.mpz_clear(&z.i[0])
    	}
    	z.init = false
    }
    
    /*
     * arithmetic
     */
    
    // Add sets z = x + y and returns z.
    func (z *Int) Add(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    	z.doinit()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Click Count (0)
Back to Top