Example #1
0
func CmpFloatInt64(x *Float, y int64) int {
	x.doinit()
	return int(C.mpf_cmp_si(&x.i[0], C.long(y)))
}
Example #2
0
func (f *Float) CmpSint(y int) int {
	return int(C.mpf_cmp_si(&f.i[0], C.long(y)))
}