Signed-off-by: Jan Engelhardt <jengelh@xxxxxxx> --- man3/fmod.3 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man3/fmod.3 b/man3/fmod.3 index a33b83eb5..2650d2928 100644 --- a/man3/fmod.3 +++ b/man3/fmod.3 @@ -154,5 +154,11 @@ to .B EDOM when a domain error occurred for an infinite .IR x . +.SH EXAMPLES +The call "fmod(372, 360)" returns 348. +.PP +The call "fmod(-372, 360)" returns -12. +.PP +The call "fmod(-372, -360)" also returns -12. .SH SEE ALSO .BR remainder (3) -- 2.41.0