##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# HUGE_VALF

From cppreference.com
< c‎ | numeric‎ | math

Defined in header `<math.h>` |  |
#define HUGE_VALF /*implementation defined*/ |  | (since C99)
#define HUGE_VAL /*implementation defined*/ |  |
#define HUGE_VALL /*implementation defined*/ |  | (since C99)

The `HUGE_VALF`, `HUGE_VAL` and `HUGE_VALL` macros expands to a positive floating point constant expression.

Constant | Explanation
`HUGE_VALF` | Indicates that the value is not representable by the float type (infinity)
`HUGE_VAL` | Indicates that the value is not representable by the double type (infinity). The constant is not necessarily representable as a float
`HUGE_VALL` | Indicates that the value is not representable by the long double type (infinity). The constant is not necessarily representable as a float or double

### [edit] See also

C++ documentation for HUGE_VAL

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/numeric/math/HUGE_VAL&oldid=62555"