aboutsummaryrefslogtreecommitdiffstats
path: root/man3/infnan.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/infnan.3')
-rw-r--r--man3/infnan.311
1 files changed, 8 insertions, 3 deletions
diff --git a/man3/infnan.3 b/man3/infnan.3
index c36cac5348..afdafc7eac 100644
--- a/man3/infnan.3
+++ b/man3/infnan.3
@@ -44,14 +44,19 @@ The
.BR infnan ()
function returns a suitable value for infinity and
"not-a-number" (NaN) results.
-The value of \fIerror\fP can be ERANGE
+The value of \fIerror\fP can be
+.B ERANGE
to represent infinity or anything else to represent NaN.
\fIerrno\fP
is also set.
.SH "RETURN VALUE"
-If \fIerror\fP is ERANGE (Infinity), HUGE_VAL is returned.
+If \fIerror\fP is
+.B ERANGE
+(Infinity),
+.B HUGE_VAL
+is returned.
.PP
-If \fIerror\fP is \-ERANGE (\-Infinity), \-HUGE_VAL is returned.
+If \fIerror\fP is \-\fBERANGE\fP (\-Infinity), \-\fBHUGE_VAL\fP is returned.
.PP
If \fIerror\fP is anything else, NAN is returned.
.SH ERRORS