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

This commit is contained in:
kvik 2021-02-18 21:40:30 +01:00
parent ca1542a199
commit 1ce6f0f2ab

View file

@ -45,7 +45,9 @@ is greater than or equal to zero,
else negative infinity. else negative infinity.
.I IsInf .I IsInf
returns true if its first argument is infinity 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 .SH SOURCE
.B /sys/src/libc/port/nan.c .B /sys/src/libc/port/nan.c
.SH "SEE ALSO" .SH "SEE ALSO"