Пример #1
0
func CmpFloatFloat64(x *Float, y float64) int {
	x.doinit()
	return int(C.mpf_cmp_d(&x.i[0], C.double(y)))
}
Пример #2
0
func (f *Float) CmpDouble(y float64) int {
	return int(C.mpf_cmp_d(&f.i[0], C.double(y)))
}