mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
gh-121149: improve accuracy of builtin sum() for complex inputs (gh-121176)
This commit is contained in:
parent
cecd6012b0
commit
d4faa7bd32
4 changed files with 120 additions and 26 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue