summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorSergey B Kirpichev <skirpichev@gmail.com>2024-07-05 15:01:05 (GMT)
committerGitHub <noreply@github.com>2024-07-05 15:01:05 (GMT)
commitd4faa7bd321a7016f3e987d65962e02c778d708f (patch)
treea8a04881c376cd9eed4e35462be574e26be87686 /Doc/library
parentcecd6012b0ed5dca3916ae341e705ae44172991d (diff)
downloadcpython-d4faa7bd321a7016f3e987d65962e02c778d708f.zip
cpython-d4faa7bd321a7016f3e987d65962e02c778d708f.tar.gz
cpython-d4faa7bd321a7016f3e987d65962e02c778d708f.tar.bz2
gh-121149: improve accuracy of builtin sum() for complex inputs (gh-121176)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/functions.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 1d82f92..17348dd 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1934,6 +1934,10 @@ are always available. They are listed here in alphabetical order.
.. versionchanged:: 3.12 Summation of floats switched to an algorithm
that gives higher accuracy and better commutativity on most builds.
+ .. versionchanged:: 3.14
+ Added specialization for summation of complexes,
+ using same algorithm as for summation of floats.
+
.. class:: super()
super(type, object_or_type=None)