summaryrefslogtreecommitdiffstats
path: root/Doc/library/math.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2020-09-14 06:33:41 (GMT)
committerGitHub <noreply@github.com>2020-09-14 06:33:41 (GMT)
commit457d4e97de0369bc786e363cb53c7ef3276fdfcd (patch)
tree82cd148adb64786e5dda5a7c7ad22513d996489c /Doc/library/math.rst
parent7dbbea75cec27a48b68cc07c23f3f317cacf4a16 (diff)
downloadcpython-457d4e97de0369bc786e363cb53c7ef3276fdfcd.zip
cpython-457d4e97de0369bc786e363cb53c7ef3276fdfcd.tar.gz
cpython-457d4e97de0369bc786e363cb53c7ef3276fdfcd.tar.bz2
bpo-41513: Add docs and tests for hypot() (GH-22238)
Diffstat (limited to 'Doc/library/math.rst')
-rw-r--r--Doc/library/math.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index 6ec1fee..bbf6464 100644
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -481,6 +481,11 @@ Trigonometric functions
Added support for n-dimensional points. Formerly, only the two
dimensional case was supported.
+ .. versionchanged:: 3.10
+ Improved the algorithm's accuracy so that the maximum error is
+ under 1 ulp (unit in the last place). More typically, the result
+ is almost always correctly rounded to within 1/2 ulp.
+
.. function:: sin(x)