Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 9242376906b604697f278453ab853861fee2c150 authored by Guido van Rossum on 10 November 2020, 05:36:05 UTC
Some suggestions for the descriptors howto.
Tip revision: 9242376
numeric.rst

.. _numeric:

********************************
Numeric and Mathematical Modules
********************************

The modules described in this chapter provide numeric and math-related functions
and data types. The :mod:`numbers` module defines an abstract hierarchy of
numeric types. The :mod:`math` and :mod:`cmath` modules contain various
mathematical functions for floating-point and complex numbers. The :mod:`decimal`
module supports exact representations of decimal numbers, using arbitrary precision
arithmetic.

The following modules are documented in this chapter:


.. toctree::

   numbers.rst
   math.rst
   cmath.rst
   decimal.rst
   fractions.rst
   random.rst
   statistics.rst
back to top