radix() Return Decimal(10), the radix (base) in which the Decimal class does all its arithmetic. Included
ln(context=None) Return the natural (base e) logarithm of the operand. The result is correctly rounded using the ROUND_HALF_EVEN
decimal.setcontext(c) Set the current context for the active thread to c.
class decimal.BasicContext This is a standard context defined by the General Decimal Arithmetic Specification. Precision is
cmath.atan(x) Return the arc tangent of x. There are two branch cuts: One extends from 1j along the imaginary
cmath.rect(r, phi) Return the complex number x with polar coordinates r and phi. Equivalent to r
number_class(x) Returns an indication of the class of x.
math.erf(x) Return the
__round__() __round__(ndigits) The first version returns the nearest
logb(context=None) For a nonzero number, return the adjusted exponent of its operand as a Decimal instance. If
Page 16 of 27