class decimal.Context(prec=None, rounding=None, Emin=None, Emax=None, capitals=None, clamp=None, flags=None, traps=None) Creates
is_signed(x) Returns True if x is negative; otherwise returns False.
class numbers.Integral Subtypes Rational and adds a conversion to
class numbers.Real To Complex, Real adds the operations that work on real numbers.
class fractions.Fraction(numerator=0, denominator=1) class fractions.Fraction(other_fraction) class fractions
is_canonical() Return
cmath.log10(x) Return the base-10 logarithm of x. This has the same branch cut as log().
number_class(context=None) Return a string describing the class of the operand. The returned value is one of the following
from_decimal(dec) This class method constructs a Fraction representing the exact value of dec, which must
is_subnormal(x) Returns True if x is subnormal; otherwise returns False.
Page 26 of 27