public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 219017] New: "The call fmod(372, 360) returns 348."
@ 2024-07-09  6:49 bugzilla-daemon
  2024-07-09 10:06 ` [Bug 219017] " bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2024-07-09  6:49 UTC (permalink / raw)
  To: linux-man

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

            Bug ID: 219017
           Summary: "The call fmod(372, 360) returns 348."
           Product: Documentation
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: man-pages
          Assignee: documentation_man-pages@kernel-bugs.osdl.org
          Reporter: otte@gnome.org
        Regression: No

I believe it returns 12.

That's from the examples of the fmod man page.

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 219017] "The call fmod(372, 360) returns 348."
  2024-07-09  6:49 [Bug 219017] New: "The call fmod(372, 360) returns 348." bugzilla-daemon
@ 2024-07-09 10:06 ` bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2024-07-09 10:06 UTC (permalink / raw)
  To: linux-man

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

Alejandro Colomar (alx@kernel.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |alx@kernel.org
         Resolution|---                         |CODE_FIX

--- Comment #1 from Alejandro Colomar (alx@kernel.org) ---
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@kernel.org>
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@gnome.org>
    Signed-off-by: Alejandro Colomar <alx@kernel.org>

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.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-09 10:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-09  6:49 [Bug 219017] New: "The call fmod(372, 360) returns 348." bugzilla-daemon
2024-07-09 10:06 ` [Bug 219017] " bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox