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.
1 parent fd94c6a commit f28d471Copy full SHA for f28d471
1 file changed
Doc/library/math.rst
@@ -248,7 +248,8 @@ Floating point arithmetic
248
249
.. function:: fmod(x, y)
250
251
- Return ``fmod(x, y)``, as defined by the platform C library. Note that the
+ Return the floating-point remainder of ``x / y``,
252
+ as defined by the platform C library function ``fmod(x, y)``. Note that the
253
Python expression ``x % y`` may not return the same result. The intent of the C
254
standard is that ``fmod(x, y)`` be exactly (mathematically; to infinite
255
precision) equal to ``x - n*y`` for some integer *n* such that the result has
0 commit comments