public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nextup.3: minor improvements
@ 2024-08-07 10:56 Vincent Lefevre
  2024-08-07 21:19 ` Alejandro Colomar
  0 siblings, 1 reply; 16+ messages in thread
From: Vincent Lefevre @ 2024-08-07 10:56 UTC (permalink / raw)
  To: Michael Kerrisk, Alejandro Colomar, linux-man

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

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

end of thread, other threads:[~2024-08-16 11:47 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-07 10:56 [PATCH] nextup.3: minor improvements Vincent Lefevre
2024-08-07 21:19 ` 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

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