6.11.2 Math Value Macros
HUGE_VAL
This macro expands to a large positive double
value. It is returned
by math functions where a double
result has overflowed and default
rounding is in effect, or if the mathematical result is an exact infinity.
Include
<math.h>
Value
The value INFINITY
.
HUGE_VALF
This macro expands to a large positive float
value. It is returned
by math functions where a float
result has overflowed and default
rounding is in effect, or if the mathematical result is an exact infinity.
Include
<math.h>
Value
The value INFINITY
.
HUGE_VALL
This macro expands to a large positive long double
value. It is
returned by math functions where a long double
result has
overflowed and default rounding is in effect, or if the mathematical result is an
exact infinity.
Include
<math.h>
Value
The value INFINITY
.
INFINITY
This macro expands to a positive float
constant that will overflow
at compile time.
Include
<math.h>
NAN
This macro expands to a float
constant that represents a NaN (not a
number).
Include
<math.h>