blob: 641f58885caef501c9c816564fc1d2bd824c2a83 [file] [log] [blame]
Georg Brandl8ec7f652007-08-15 14:28:01 +00001
2.. _numeric:
3
4********************************
5Numeric and Mathematical Modules
6********************************
7
8The modules described in this chapter provide numeric and math-related functions
Jeffrey Yasskin2f3c16b2008-01-03 02:21:52 +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 Brandl8ec7f652007-08-15 14:28:01 +000014
15The following modules are documented in this chapter:
16
17
18.. toctree::
19
Jeffrey Yasskin2f3c16b2008-01-03 02:21:52 +000020 numbers.rst
Georg Brandl8ec7f652007-08-15 14:28:01 +000021 math.rst
22 cmath.rst
23 decimal.rst
Raymond Hettinger596fdd02008-02-12 00:15:32 +000024 fractions.rst
Georg Brandl8ec7f652007-08-15 14:28:01 +000025 random.rst
26 itertools.rst
27 functools.rst
28 operator.rst