normalize(context=None) Normalize the number by stripping the rightmost trailing zeros and converting any result equal to
logical_xor(x, y) Applies the logical operation xor between each operand’s digits.
from_float(f) Classmethod that converts a float to a decimal number, exactly. Note Decimal
max(other, context=None) Like max(self, other) except that the context rounding rule is applied before returning
is_infinite() Return
math.log10(x) Return the base-10 logarithm of x. This is usually more accurate than log(x, 10).
random.getrandbits(k) Returns a Python integer with k random bits. This method is supplied with the MersenneTwister
is_canonical(x) Returns True if x is canonical; otherwise returns False.
cmath.e The mathematical constant e, as a float.
class decimal.Underflow Numerical underflow with result rounded to zero. Occurs when a subnormal
Page 1 of 27