diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2020-09-14 06:33:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-14 06:33:41 (GMT) |
commit | 457d4e97de0369bc786e363cb53c7ef3276fdfcd (patch) | |
tree | 82cd148adb64786e5dda5a7c7ad22513d996489c /Doc/library | |
parent | 7dbbea75cec27a48b68cc07c23f3f317cacf4a16 (diff) | |
download | cpython-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')
-rw-r--r-- | Doc/library/math.rst | 5 |
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) |