blob: 7c76a479d73b2641c510e7d54e0815e0451bdcae [file] [log] [blame]
Georg Brandl116aa622007-08-15 14:28:22 +00001
2.. _numeric:
3
4********************************
5Numeric and Mathematical Modules
6********************************
7
8The modules described in this chapter provide numeric and math-related functions
Christian Heimes072c0f12008-01-03 23:01:04 +00009and data types. The :mod:`numbers` module defines an abstract hierarchy of
10numeric types. The :mod:`math` and :mod:`cmath` modules contain various
Stefan Krah1919b7e2012-03-21 18:25:23 +010011mathematical functions for floating-point and complex numbers. The :mod:`decimal`
12module supports exact representations of decimal numbers, using arbitrary precision
13arithmetic.
Georg Brandl116aa622007-08-15 14:28:22 +000014
15The following modules are documented in this chapter:
16
17
18.. toctree::
19
Christian Heimes072c0f12008-01-03 23:01:04 +000020 numbers.rst
Georg Brandl116aa622007-08-15 14:28:22 +000021 math.rst
22 cmath.rst
23 decimal.rst
Raymond Hettinger53dbe392008-02-12 20:03:09 +000024 fractions.rst
Georg Brandl116aa622007-08-15 14:28:22 +000025 random.rst
Larry Hastingsf5e987b2013-10-19 11:50:09 -070026 statistics.rst