File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1752,7 +1752,7 @@ are always available. They are listed here in alphabetical order.
1752
1752
The *start * parameter can be specified as a keyword argument.
1753
1753
1754
1754
.. versionchanged :: 3.12 Summation of floats switched to an algorithm
1755
- that gives higher accuracy on most builds.
1755
+ that gives higher accuracy and better commutativity on most builds.
1756
1756
1757
1757
1758
1758
.. class :: super()
Original file line number Diff line number Diff line change @@ -504,8 +504,8 @@ Other Language Changes
504
504
* :class: `slice ` objects are now hashable, allowing them to be used as dict keys and
505
505
set items. (Contributed by Will Bradshaw, Furkan Onder, and Raymond Hettinger in :gh: `101264 `.)
506
506
507
- * :func: `sum ` now uses Neumaier summation to improve accuracy when summing
508
- floats or mixed ints and floats.
507
+ * :func: `sum ` now uses Neumaier summation to improve accuracy and commutativity
508
+ when summing floats or mixed ints and floats.
509
509
(Contributed by Raymond Hettinger in :gh: `100425 `.)
510
510
511
511
* Exceptions raised in a typeobject's ``__set_name__ `` method are no longer
You can’t perform that action at this time.
0 commit comments