summary refs log tree commit diff
path: root/manual/arith.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-10-02 23:50:41 +0000
committerRichard M. Stallman <rms@gnu.org>1992-10-02 23:50:41 +0000
commitf19c80dd2ca4ff829af44399055a8b5ed24e089f (patch)
tree7de66c5c11b127d2d4b9c98324518cbf9e0911b3 /manual/arith.texi
parent4ce5be06d33dd371386d9ea3403496c6fa8eae86 (diff)
downloadglibc-f19c80dd2ca4ff829af44399055a8b5ed24e089f.tar.gz
glibc-f19c80dd2ca4ff829af44399055a8b5ed24e089f.tar.xz
glibc-f19c80dd2ca4ff829af44399055a8b5ed24e089f.zip
Put in infnan for BSD compatibility.
Diffstat (limited to 'manual/arith.texi')
-rw-r--r--manual/arith.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/manual/arith.texi b/manual/arith.texi
index 9fa1f0fd65..cf9a62a3e2 100644
--- a/manual/arith.texi
+++ b/manual/arith.texi
@@ -84,13 +84,15 @@ This function returns a nonzero value if @var{x} is finite or a ``not a
 number'' value, and zero otherwise.
 @end deftypefun
 
-@ignore This is an internal function, and is being renamed.
 @comment math.h
 @comment BSD
 @deftypefun double infnan (int @var{error})
-@strong{Incomplete:}  I don't understand what this function does.
+This function is provided for compatibility with BSD.  Its argument
+is an error code, @code{EDOM} or @code{ERANGE}; its value
+is what a mathematical function should return if it fails with that
+error code.  @code{-ERANGE} is also acceptable as an argument, and
+corresponds to @code{-HUGE_VAL} as a value.
 @end deftypefun
-@end ignore
 
 @strong{Portability Note:} The functions listed in this section are BSD
 extensions.