The current "If x is 0" condition is a bit misleading because "is" is not the equality test (just like when saying "x is NaN") and 0 as a FP number stands for +0, while this condition should apply to both -0 and +0. Replace this condition by "If x is +0 or -0". Replace "Nan" by "NaN" (typography used everywhere else). Signed-off-by: Vincent Lefevre <vincent@xxxxxxxxxx> --- man/man3/nextup.3 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/man/man3/nextup.3 b/man/man3/nextup.3 index 285c2bcda..568f3b13f 100644 --- a/man/man3/nextup.3 +++ b/man/man3/nextup.3 @@ -38,8 +38,9 @@ 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 +0 or \-0, +the returned value is +the smallest representable positive number of the corresponding type. .P If .I x @@ -52,7 +53,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