diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-06-22 19:42:52 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-06-22 19:42:52 +0000 |
commit | 2f0af33ba65b9acc67dc3fcdbb8b123af932a477 (patch) | |
tree | 504cfe0d5df667fddf7cc42641c7c1d31db40a8a /man3/INFINITY.3 | |
parent | 1274071a69a58859123c827aecbdd938c27ebd6f (diff) |
ffix
Diffstat (limited to 'man3/INFINITY.3')
-rw-r--r-- | man3/INFINITY.3 | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/man3/INFINITY.3 b/man3/INFINITY.3 index 2bd83b76..e02351e4 100644 --- a/man3/INFINITY.3 +++ b/man3/INFINITY.3 @@ -42,11 +42,11 @@ INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL \- floating point constants .SH DESCRIPTION The macro .B INFINITY -expands to a float constant representing positive infinity. +expands to a \fIfloat\fP constant representing positive infinity. The macro .B NAN -expands to a float constant representing a quiet NaN +expands to a \fIfloat\fP constant representing a quiet NaN (when supported). A .I quiet @@ -61,22 +61,32 @@ The macros .BR HUGE_VAL , .BR HUGE_VALF , .BR HUGE_VALL -expand to constants of types double, float and long double, respectively, +expand to constants of types \fIdouble\fP, \fIfloat\fP +and \fIlong double\fP, respectively, that represent a large positive value, possibly plus infinity. .SH "CONFORMING TO" C99 .SH AVAILABILITY -On a glibc system, the macro HUGE_VAL is always available. -Availability of the NAN macro can be tested using +On a glibc system, the macro +.B HUGE_VAL +is always available. +Availability of the +.B NAN +macro can be tested using .BR "#ifdef NAN" , -and similarly for INFINITY, HUGE_VALF, HUGE_VALL. +and similarly for +.BR INFINITY , +.BR HUGE_VALF , +.BR HUGE_VALL . They will be defined by .I <math.h> if .B _ISOC99_SOURCE or .B _GNU_SOURCE -is defined, or __STDC_VERSION__ is defined +is defined, or +.B __STDC_VERSION__ +is defined and has a value not less than 199901L. .SH "SEE ALSO" .BR fpclassify (3), |