- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for mpz_abs (0.04 sec)
-
misc/cgo/gmp/gmp.go
x.doinit() z.doinit() C.mpz_neg(&z.i[0], &x.i[0]) return z } // Abs sets z to the absolute value of x and returns z. func (z *Int) Abs(x *Int) *Int { x.doinit() z.doinit() C.mpz_abs(&z.i[0], &x.i[0]) return z } /* * functions without a clear receiver */ // CmpInt compares x and y. The result is // // -1 if x < y // 0 if x == y // +1 if x > y
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K bytes - Viewed (0)