compare(x, y) Compares x and y numerically.
as_tuple() Return a named tuple representation of the number: DecimalTuple(sign
exception statistics.StatisticsError Subclass of
logical_and(other, context=None) logical_and() is a logical operation which takes two logical operands
class decimal.Underflow Numerical underflow with result rounded to zero. Occurs when a subnormal
is_canonical(x) Returns True if x is canonical; otherwise returns False.
decimal.getcontext() Return the current context for the active thread.
class decimal.Subnormal Exponent was lower than Emin prior to rounding. Occurs
copy_sign(other, context=None) Return a copy of the first operand with the sign set to be the same as the sign of the second
cmath.phase(x) Return the phase of x (also known as the argument of x), as a float. phase(x)
Page 5 of 27