From: Vincent Lefevre <vincent@vinc17.net>
To: Michael Kerrisk <mtk.manpages@gmail.com>,
Alejandro Colomar <alx.manpages@gmail.com>,
linux-man@vger.kernel.org
Subject: [PATCH] nextup.3: minor improvements
Date: Wed, 7 Aug 2024 12:56:17 +0200 [thread overview]
Message-ID: <20240807105617.GH3221@qaa.vinc17.org> (raw)
The current "If x is 0" is a bit misleading because "is" is not the
equality test, while this condition should apply to both -0 and 0.
Replace this condition by "If x is equal to 0".
Replace "Nan" by "NaN" (typography used everywhere else).
Signed-off-by: Vincent Lefevre <vincent@vinc17.net>
---
man/man3/nextup.3 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/man/man3/nextup.3 b/man/man3/nextup.3
index 285c2bcda..02fdb9bae 100644
--- a/man/man3/nextup.3
+++ b/man/man3/nextup.3
@@ -38,8 +38,8 @@ is the smallest representable negative number in the corresponding type,
these functions return \-0.
If
.I x
-is 0, the returned value is the smallest representable positive number
-of the corresponding type.
+is equal to 0, the returned value is the smallest representable positive
+number of the corresponding type.
.P
If
.I x
@@ -52,7 +52,7 @@ of the corresponding type.
.P
If
.I x
-is Nan,
+is NaN,
the returned value is NaN.
.P
The value returned by
--
2.45.2
next reply other threads:[~2024-08-07 10:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-07 10:56 Vincent Lefevre [this message]
2024-08-07 21:19 ` [PATCH] nextup.3: minor improvements Alejandro Colomar
2024-08-08 2:56 ` Vincent Lefevre
2024-08-08 8:07 ` Alejandro Colomar
2024-08-08 11:54 ` Vincent Lefevre
2024-08-08 11:56 ` [PATCH v2] " Vincent Lefevre
2024-08-16 11:47 ` Alejandro Colomar
2024-08-08 12:16 ` [PATCH] " G. Branden Robinson
2024-08-08 12:58 ` Vincent Lefevre
2024-08-08 22:14 ` Dave Kemper
[not found] ` <CAGcdaje1Fo_DuFf87ST8rrNCHmXx8uEzjJCwHiZ2Wf47h_O0Pg@mail.gmail.com>
2024-08-09 6:19 ` G. Branden Robinson
[not found] ` <CAGcdajd_+tT+7QTYFzRTe=MnpJd_5YtxWL+fhr_EUAnaZ2OE2w@mail.gmail.com>
2024-08-09 7:37 ` G. Branden Robinson
2024-08-09 6:37 ` Damian McGuckin
2024-08-09 9:25 ` Vincent Lefevre
[not found] ` <CAGcdajc55V7D0H2WiX5xEBcVg+mydTrvhXCKEXDpmWHZ75uj5w@mail.gmail.com>
2024-08-09 9:55 ` G. Branden Robinson
2024-08-09 10:41 ` Vincent Lefevre
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=20240807105617.GH3221@qaa.vinc17.org \
--to=vincent@vinc17.net \
--cc=alx.manpages@gmail.com \
--cc=linux-man@vger.kernel.org \
--cc=mtk.manpages@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