diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2008-07-30 16:20:10 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2008-07-30 16:20:10 (GMT) |
commit | fef6b13c3261b9c91d38247f5ff99a411d71ab13 (patch) | |
tree | 3c791f6d97dd707da784b5818352b1a0f09b955d /Doc/whatsnew | |
parent | f2eb2b44fc532c77c03bc95789817a20d7c558c3 (diff) | |
download | cpython-fef6b13c3261b9c91d38247f5ff99a411d71ab13.zip cpython-fef6b13c3261b9c91d38247f5ff99a411d71ab13.tar.gz cpython-fef6b13c3261b9c91d38247f5ff99a411d71ab13.tar.bz2 |
Rename math.sum to math.fsum
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/2.6.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index a8d89cb..9959ecd 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -1537,7 +1537,7 @@ Here are all of the changes that Python 2.6 makes to the core Python language. * :func:`~math.factorial` computes the factorial of a number. (Contributed by Raymond Hettinger; :issue:`2138`.) - * :func:`~math.sum` adds up the stream of numbers from an iterable, + * :func:`~math.fsum` adds up the stream of numbers from an iterable, and is careful to avoid loss of precision by calculating partial sums. (Contributed by Jean Brouwers, Raymond Hettinger, and Mark Dickinson; :issue:`2819`.) |