class decimal.InvalidOperation An invalid operation was performed. Indicates that an operation
cmath.pi The mathematical constant π, as a float.
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.
Page 6 of 27