All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 214815] New: pow(3): underflow result can be -0.0
@ 2021-10-25 22:33 bugzilla-daemon
  2021-10-26 11:51 ` [Bug 214815] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2021-10-25 22:33 UTC (permalink / raw)
  To: linux-man

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

            Bug ID: 214815
           Summary: pow(3): underflow result can be -0.0
           Product: Documentation
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: low
          Priority: P1
         Component: man-pages
          Assignee: documentation_man-pages@kernel-bugs.osdl.org
          Reporter: mwelinder@gmail.com
        Regression: No

The pow(3) man pages as found here:
https://man7.org/linux/man-pages/man3/pow.3.html says...

"If result underflows, and is not representable, a range error occurs, and 0.0
is returned."

That fails to take signs into account.  pow(-1e-100,5) produces -0.0, not 0.0

Suggested wording: "... and 0.0 with the appropriate sign is returned."

-- 
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] 5+ messages in thread

end of thread, other threads:[~2021-10-27 20:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-25 22:33 [Bug 214815] New: pow(3): underflow result can be -0.0 bugzilla-daemon
2021-10-26 11:51 ` [Bug 214815] " bugzilla-daemon
2021-10-26 16:48 ` bugzilla-daemon
2021-10-26 20:54 ` bugzilla-daemon
2021-10-27 20:12 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.