aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/fpclassify.314
1 files changed, 10 insertions, 4 deletions
diff --git a/man3/fpclassify.3 b/man3/fpclassify.3
index 9eb4dc568e..5a533cf649 100644
--- a/man3/fpclassify.3
+++ b/man3/fpclassify.3
@@ -67,12 +67,18 @@ returns a non-zero value if
(fpclassify(x) == FP_NAN)
.TP
.BI isinf( x )
-returns a non-zero value if
-(fpclassify(x) == FP_INFINITE)
+returns 1 if
+.I x
+is positive infinity, and \-1 if
+.I x
+is negative infinity.
.SH NOTE
-On systems conforming to BSD 4.3,
+In glibc 2.01 and earlier,
.B isinf()
-will return 1 for positive, and \-1 for negative infinity.
+returns a non-zero value (actually: 1) if
+.I x
+is an infinity (positive or negative).
+(This is all that C99 requires.)
.SH "CONFORMING TO"
C99
.SH "SEE ALSO"