From 1ce6f0f2ab1896e35869f0e9e5079fc20dd981fc Mon Sep 17 00:00:00 2001 From: kvik Date: Thu, 18 Feb 2021 21:40:30 +0100 Subject: [PATCH] =?UTF-8?q?nan(2):=20document=20isInf(x,=200)=20matching?= =?UTF-8?q?=20+=E2=88=9E=20and=20-=E2=88=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sys/man/2/nan | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"