summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGiovanni Cappellotto <potomak84@gmail.com>2019-07-13 13:59:55 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2019-07-13 13:59:55 (GMT)
commitdc3f99fa77f415077c20a9c2b3e953e5cd894076 (patch)
treedd9dae72294094ea3c61e7ff754aa8485a5e1934 /Doc/library
parente6b46aafad3427463d6264a68824df4797e682f1 (diff)
downloadcpython-dc3f99fa77f415077c20a9c2b3e953e5cd894076.zip
cpython-dc3f99fa77f415077c20a9c2b3e953e5cd894076.tar.gz
cpython-dc3f99fa77f415077c20a9c2b3e953e5cd894076.tar.bz2
bpo-37548: Document range of atan, acos and asin (GH-14717)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/math.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index bfce41a..be953cf 100644
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -366,17 +366,20 @@ Trigonometric functions
.. function:: acos(x)
- Return the arc cosine of *x*, in radians.
+ Return the arc cosine of *x*, in radians. The result is between ``0`` and
+ ``pi``.
.. function:: asin(x)
- Return the arc sine of *x*, in radians.
+ Return the arc sine of *x*, in radians. The result is between ``-pi/2`` and
+ ``pi/2``.
.. function:: atan(x)
- Return the arc tangent of *x*, in radians.
+ Return the arc tangent of *x*, in radians. The result is between ``-pi/2`` and
+ ``pi/2``.
.. function:: atan2(y, x)