From: Alejandro Colomar <alx@kernel.org>
To: Helge Kreutzmann <debian@helgefjell.de>
Cc: mario.blaettermann@gmail.com, linux-man@vger.kernel.org
Subject: Re: Issue in man page fma.3
Date: Thu, 25 Dec 2025 14:29:08 +0100 [thread overview]
Message-ID: <aU07-d_JMzS3mB7e@devuan> (raw)
In-Reply-To: <aUv64cN0_EE0VVlM@meinfjell.helgefjelltest.de>
[-- Attachment #1: Type: text/plain, Size: 1538 bytes --]
Hi Helge,
On Wed, Dec 24, 2025 at 02:38:25PM +0000, Helge Kreutzmann wrote:
> Without further ado, the following was found:
>
> Issue: According to above, a domain error also occurs when I<z> is a NaN?
>
> "Domain error: I<x> * I<y> + I<z>, or I<x> * I<y> is invalid and I<z> is not a NaN"
I think this was fixed in
$ git show e86f9fd0c279f593242969a2fbb5ef379272d89d
commit e86f9fd0c279f593242969a2fbb5ef379272d89d
Author: Alejandro Colomar <alx@kernel.org>
Date: Wed Sep 3 16:14:10 2025 +0200
man/man3/fma.3: ERRORS: Add missing error
There's also a domain error if z is a NaN, so let's simplify wording.
See the comments in the source code, which remind that POSIX doesn't
mandate some of this, so this is GNU-specific.
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Suggested-by: Adam Sampson <ats@offog.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
diff --git a/man/man3/fma.3 b/man/man3/fma.3
index fa0562858..433f1e2ee 100644
--- a/man/man3/fma.3
+++ b/man/man3/fma.3
@@ -107,8 +107,8 @@ .SH ERRORS
.P
The following errors can occur:
.TP
-Domain error: \f[I]x * y + z\f[], \
-or \f[I]x * y\f[] is invalid and \f[I]z\f[] is not a NaN
+Domain error: \f[I]x * y + z\f[] \
+or \f[I]x * y\f[] is invalid.
.\" .I errno
.\" is set to
.\" .BR EDOM .
but please revise in case there's still anything that needs to be fixed.
Have a lovely day!
Alex
--
<https://www.alejandro-colomar.es>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2025-12-25 13:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-24 14:38 Issue in man page fma.3 Helge Kreutzmann
2025-12-25 13:29 ` Alejandro Colomar [this message]
2025-12-26 4:49 ` Helge Kreutzmann
-- strict thread matches above, loose matches on Subject: below --
2025-08-24 14:48 Helge Kreutzmann
2025-09-01 7:47 ` Alejandro Colomar
2025-09-01 15:06 ` Adam Sampson
2025-09-01 15:28 ` Alejandro Colomar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aU07-d_JMzS3mB7e@devuan \
--to=alx@kernel.org \
--cc=debian@helgefjell.de \
--cc=linux-man@vger.kernel.org \
--cc=mario.blaettermann@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox