diff options
author | kvik <kvik@a-b.xyz> | 2021-02-18 21:40:30 +0100 |
---|---|---|
committer | kvik <kvik@a-b.xyz> | 2021-02-18 21:40:30 +0100 |
commit | 1ce6f0f2ab1896e35869f0e9e5079fc20dd981fc (patch) | |
tree | 7c1af4aa6ba8f60ca385eb6066fce9846794e819 | |
parent | ca1542a19914979f5dc41f4f594689133153c74b (diff) | |
download | plan9front-1ce6f0f2ab1896e35869f0e9e5079fc20dd981fc.tar.xz |
nan(2): document isInf(x, 0) matching +∞ and -∞
-rw-r--r-- | sys/man/2/nan | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/man/2/nan b/sys/man/2/nan index 90e39b994..d5edc589b 100644 --- a/sys/man/2/nan +++ b/sys/man/2/nan @@ -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" |