Python uses arbitrary-precision arithmetic for all integer operations. The Decimal type/class in the decimal module provides decimal floating point numbers to a pre-defined arbitrary precision and several rounding modes.[97] The Fraction class in the fractions module provides arbitrary precision for rational numbers.[98]