nan(2): document isInf(x, 0) matching +∞ and -∞

front
kvik 2021-02-18 21:40:30 +01:00
parent ca1542a199
commit 1ce6f0f2ab
1 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,9 @@ is greater than or equal to zero,
else negative infinity.
.I IsInf
returns true if its first argument is infinity
with the same sign as the second argument.
with a sign matching the second argument.
A zero sign matches both negative and positive
infinities.
.SH SOURCE
.B /sys/src/libc/port/nan.c
.SH "SEE ALSO"