Rename math.sum to math.fsum
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index 61a6fd6..5740759 100644
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -83,6 +83,16 @@
apart" the internal representation of a float in a portable way.
+.. function:: fsum(iterable)
+
+ Return an accurate floating point sum of values in the iterable. Avoids
+ loss of precision by tracking multiple intermediate partial sums. The
+ algorithm's accuracy depends on IEEE-754 arithmetic guarantees and the
+ typical case where the rounding mode is half-even.
+
+ .. versionadded:: 2.6
+
+
.. function:: isinf(x)
Checks if the float *x* is positive or negative infinite.
@@ -112,16 +122,6 @@
*x*, and both are floats.
-.. function:: sum(iterable)
-
- Return an accurate floating point sum of values in the iterable. Avoids
- loss of precision by tracking multiple intermediate partial sums. The
- algorithm's accuracy depends on IEEE-754 arithmetic guarantees and the
- typical case where the rounding mode is half-even.
-
- .. versionadded:: 2.6
-
-
.. function:: trunc(x)
Return the :class:`Real` value *x* truncated to an :class:`Integral` (usually