.\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
.\"
.\" References consulted:
.\" Linux libc source code
.BR infnan ()
function returns a suitable value for infinity and
"not-a-number" (NaN) results.
-The value of \fIerror\fP can be
+The value of
+.I error
+can be
.B ERANGE
to represent infinity or anything else to represent NaN.
-\fIerrno\fP
+.I errno
is also set.
-.SH "RETURN VALUE"
-If \fIerror\fP is
+.SH RETURN VALUE
+If
+.I error
+is
.B ERANGE
(Infinity),
.B HUGE_VAL
is returned.
.PP
-If \fIerror\fP is \-\fBERANGE\fP (\-Infinity), \-\fBHUGE_VAL\fP is returned.
+If
+.I error
+is
+.RB \- ERANGE
+(\-Infinity),
+.RB \- HUGE_VAL
+is returned.
.PP
-If \fIerror\fP is anything else, NAN is returned.
+If
+.I error
+is anything else, NAN is returned.
.SH ERRORS
.TP
.B EDOM
-The value of \fIerror\fP is "not-a-number" (NaN).
+The value of
+.I error
+is "not-a-number" (NaN).
.TP
.B ERANGE
-The value of \fIerror\fP is positive infinity or negative infinity.
-.SH "CONFORMING TO"
+The value of
+.I error
+is positive infinity or negative infinity.
+.SH CONFORMING TO
4.3BSD.
.SH NOTES
This obsolete function was provided in
libc4 and libc5, but is not available in glibc2.
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.