mirror of
https://github.com/python/cpython.git
synced 2024-11-27 20:04:41 +08:00
f5e987bbe6
by Steven D'Aprano.
27 lines
696 B
ReStructuredText
27 lines
696 B
ReStructuredText
|
|
.. _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
|