Skip to content

Commit

Permalink
Revert description modification for fmod
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey B Kirpichev <[email protected]>
  • Loading branch information
Nodd and skirpichev authored Nov 12, 2024
1 parent f831a1d commit 40fd579
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Doc/library/math.rst
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,7 @@ Floating point arithmetic

.. function:: fmod(x, y)

Return the remainder of division ``x / y``,
as defined by the platform C library function ``fmod(x, y)``.

Note that the
Return ``fmod(x, y)``, as defined by the platform C library. Note that the
Python expression ``x % y`` may not return the same result. The intent of the C
standard is that ``fmod(x, y)`` be exactly (mathematically; to infinite
precision) equal to ``x - n*y`` for some integer *n* such that the result has
Expand Down

0 comments on commit 40fd579

Please sign in to comment.