Skip to content

Commit d74ff26

Browse files
committed
fmod short description
1 parent c4b1756 commit d74ff26

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Doc/library/math.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,10 @@ Number-theoretic and representation functions
186186

187187
.. function:: fmod(x, y)
188188

189-
Return ``fmod(x, y)``, as defined by the platform C library. Note that the
189+
Return the remainder of division ``x / y``,
190+
as defined by the platform C library function ``fmod(x, y)``.
191+
192+
Note that the
190193
Python expression ``x % y`` may not return the same result. The intent of the C
191194
standard is that ``fmod(x, y)`` be exactly (mathematically; to infinite
192195
precision) equal to ``x - n*y`` for some integer *n* such that the result has

0 commit comments

Comments
 (0)