示例#1
0
文件: float.go 项目: jamesadney/gmp
func CmpFloatUint(x *Float, y uint) int {
	x.doinit()
	return int(C.mpf_cmp_ui(&x.i[0], C.ulong(y)))
}
示例#2
0
func (f *Float) CmpUint(y uint) int {
	return int(C.mpf_cmp_ui(&f.i[0], C.ulong(y)))
}