nan(2): document isInf(x, 0) matching +∞ and -∞
This commit is contained in:
parent
ca1542a199
commit
1ce6f0f2ab
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue