random.randint(a, b) Return a random integer N such that a <= N <= b. Alias for randrange(a
clear_flags() Resets all of the flags to 0.
is_normal(context=None) Return
divide(x, y) Return x divided by y.
to_eng_string(x) Convert to a string, using engineering notation if an exponent is needed. Engineering
decimal.getcontext() Return the current context for the active thread.
numerator Abstract.
sqrt(x) Square root of a non-negative number to context precision.
math.isfinite(x) Return True if x is neither an infinity nor a NaN, and False otherwise.
class numbers.Rational Subtypes Real and adds numerator and denominator properties, which
Page 6 of 27