add()
div()
mul()
sub()
square()
f2q()
fma()
fms()
cmp_abs()
Return x + y.
Return x / y; uses true division.
Return x * y.
Return x - y.
Return x * x.
Return the ‘best’ mpq approximating x to within relative error err. Default is the precision of x. Uses Stern-Brocot tree to find the ‘best’ approximation. An mpz object is returned if the denominator is 1. If err<0, relative error is 2.0 ** err.
mpq
mpz
Return correctly rounded result of (x * y) + z.
Return correctly rounded result of (x * y) - z.
Return -1 if abs(x) < abs(y); 0 if abs(x) = abs(y); or 1 else.