Hi Vincent, On Wed, Aug 07, 2024 at 12:56:17PM GMT, Vincent Lefevre wrote: > 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". How does 'is' differ semantically from 'is equal to' in this case? I don't think 'is equal to' does anything different to mean also -0. > > Replace "Nan" by "NaN" (typography used everywhere else). Ok. > > Signed-off-by: Vincent Lefevre <vincent@xxxxxxxxxx> > --- > 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. Please keep semantic newlines. See man-pages(7). Have a lovely night! Alex > .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 -- <https://www.alejandro-colomar.es/>
Attachment:
signature.asc
Description: PGP signature