Skip to contentSkip to conversation

New: "The call fmod(372, 360) returns 348."

Bug 219017 [email protected] 1 participant 2 messages Jul 9, 2024 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]
        Regression: No

I believe it returns 12.

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

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

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

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

Alejandro Colomar ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |CODE_FIX

--- Comment #1 from Alejandro Colomar ([email protected]) --- 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 <[email protected]>
Date:   Tue Jul 9 12:00:18 2024 +0200

fmod.3: EXAMPLES: Fix calculation

Fixes ce23e8188f8f ("fmod.3: Add example section")
man/man3/fmod.3 +1 -1
index d6c76c7a3..13e0f2e8c 100644
@@ -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)
Signature · 4 lines
You may reply to this email to add a comment.

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