[Bug 219017] "The call fmod(372, 360) returns 348."

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=219017

Alejandro Colomar (alx@xxxxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |alx@xxxxxxxxxx
         Resolution|---                         |CODE_FIX

--- Comment #1 from Alejandro Colomar (alx@xxxxxxxxxx) ---
Hi!

Thanks for the report.  I've fixed it with the commit shown below.

Have a lovely day!
Alex

---

commit 346bb648cc963bd9f2c8b16d984cb49030faa05b (HEAD -> contrib, alx/contrib)
Author: Alejandro Colomar <alx@xxxxxxxxxx>
Date:   Tue Jul 9 12:00:18 2024 +0200

    fmod.3: EXAMPLES: Fix calculation

    Fixes: ce23e8188f8f ("fmod.3: Add example section")
    Closes: <https://bugzilla.kernel.org/show_bug.cgi?id=219017>
    Reported-by: Benjamin Otte <otte@xxxxxxxxx>
    Signed-off-by: Alejandro Colomar <alx@xxxxxxxxxx>

diff --git a/man/man3/fmod.3 b/man/man3/fmod.3
index d6c76c7a3..13e0f2e8c 100644
--- a/man/man3/fmod.3
+++ b/man/man3/fmod.3
@@ -170,7 +170,7 @@ .SH BUGS
 .SH EXAMPLES
 The call
 .I fmod(372, 360)
-returns 348.
+returns 12.
 .P
 The call
 .I fmod(-372, 360)

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux