We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 731fc40 commit f0a438aCopy full SHA for f0a438a
Doc/library/math.rst
@@ -84,7 +84,8 @@ Number-theoretic and representation functions
84
85
.. function:: fmod(x, y)
86
87
- Return ``fmod(x, y)``, as defined by the platform C library. Note that the
+ Return the floating-point remainder of ``x / y``,
88
+ as defined by the platform C library function ``fmod(x, y)``. Note that the
89
Python expression ``x % y`` may not return the same result. The intent of the C
90
standard is that ``fmod(x, y)`` be exactly (mathematically; to infinite
91
precision) equal to ``x - n*y`` for some integer *n* such that the result has
0 commit comments