blob: 641f58885caef501c9c816564fc1d2bd824c2a83 [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
11mathematical functions for floating-point and complex numbers. For users more
12interested in decimal accuracy than in speed, the :mod:`decimal` module supports
13exact representations of decimal numbers.
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
26 itertools.rst
27 functools.rst
28 operator.rst