[Python-checkins] r67863 - python/trunk/Doc/library/math.rst
benjamin.peterson
python-checkins at python.org
Sat Dec 20 03:51:26 CET 2008
Author: benjamin.peterson
Date: Sat Dec 20 03:51:26 2008
New Revision: 67863
Log:
add headings
Modified:
python/trunk/Doc/library/math.rst
Modified: python/trunk/Doc/library/math.rst
==============================================================================
--- python/trunk/Doc/library/math.rst (original)
+++ python/trunk/Doc/library/math.rst Sat Dec 20 03:51:26 2008
@@ -21,8 +21,9 @@
The following functions are provided by this module. Except when explicitly
noted otherwise, all return values are floats.
-Number-theoretic and representation functions:
+Number-theoretic and representation functions
+---------------------------------------------
.. function:: ceil(x)
@@ -146,7 +147,9 @@
platform C double type), in which case any float *x* with ``abs(x) >= 2**52``
necessarily has no fractional bits.
-Power and logarithmic functions:
+
+Power and logarithmic functions
+-------------------------------
.. function:: exp(x)
@@ -193,7 +196,8 @@
Return the square root of *x*.
-Trigonometric functions:
+Trigonometric functions
+-----------------------
.. function:: acos(x)
@@ -241,7 +245,8 @@
Return the tangent of *x* radians.
-Angular conversion:
+Angular conversion
+------------------
.. function:: degrees(x)
@@ -253,7 +258,8 @@
Converts angle *x* from degrees to radians.
-Hyperbolic functions:
+Hyperbolic functions
+--------------------
.. function:: acosh(x)
@@ -291,7 +297,8 @@
Return the hyperbolic tangent of *x*.
-The module also defines two mathematical constants:
+Constants
+---------
.. data:: pi
More information about the Python-checkins
mailing list