Manpage of INFINITY
INFINITYSection: Linux Programmer's Manual (3)
NAMEINFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL - floating-point constants
#define _ISOC99_SOURCE /* See feature_test_macros(7) */
DESCRIPTIONThe macro INFINITYexpands to a floatconstant representing positive infinity.
The macro NANexpands to a floatconstant representing a quiet NaN (when supported). A quietNaN is a NaN ("not-a-number") that does not raise exceptions when it is used in arithmetic. The opposite is a signalingNaN. See IEC 60559:1989.
AVAILABILITYOn a glibc system, the macro HUGE_VALis always available. Availability of the NANmacro can be tested using #ifdef NAN, and similarly for INFINITY, HUGE_VALF, HUGE_VALL. They will be defined by <math.h>if _ISOC99_SOURCEor _GNU_SOURCEis defined, or __STDC_VERSION__is defined and has a value not less than 199901L.
SEE ALSOfpclassify(3), math_error(7)
This document was created by man2html, using the manual pages.
Time: 16:30:20 GMT, March 14, 2017 Click Here!