compare_total(x, y) Compares two operands using their abstract representation.
random.betavariate(alpha, beta) Beta distribution. Conditions on the parameters are alpha > 0 and beta
same_quantum(other, context=None) Test whether self and other have the same exponent or whether both are NaN.
from_decimal(dec) This class method constructs a Fraction representing the exact value of dec, which must
class decimal.Decimal(value="0", context=None) Construct a new Decimal object based from value.
subtract(x, y) Return the difference between x and y.
random.getstate() Return an object capturing the current internal state of the generator. This object can be passed to setstate()
class numbers.Integral Subtypes Rational and adds a conversion to
math.gcd(a, b) Return the greatest common divisor of the integers a and b. If either a or b
to_integral_exact(x) Rounds to an integer.
Page 25 of 27