Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c68a4a0 + 288234f commit 37bfa23Copy full SHA for 37bfa23
1 file changed
Doc/library/math.rst
@@ -4,6 +4,9 @@
4
.. module:: math
5
:synopsis: Mathematical functions (sin() etc.).
6
7
+.. testsetup::
8
+
9
+ from math import fsum
10
11
This module is always available. It provides access to the mathematical
12
functions defined by the C standard.
@@ -77,8 +80,6 @@ Number-theoretic and representation functions
77
80
78
81
79
82
.. function:: fsum(iterable)
-.. testsetup::
- >>> from math import fsum
83
84
Return an accurate floating point sum of values in the iterable. Avoids
85
loss of precision by tracking multiple intermediate partial sums::
0 commit comments