.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
+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.
+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/.