This header file defines macros that specify the characteristics of the floating point data types float, double, and long double. The table below lists the macros that describe the properties of the floating point types.
The prefix of each macro's name specifies the data type that the macro applies to:
| Macro | Characteristics |
|---|---|
| FLT_RADIX | A numerical argument is not within the acceptable range of values that a function requires. |
| F LT_ROUNDS | An operation to convert to or from a multibyte character sequence could not be completed. |
| FLT_MANT_DIG, DBL_MANT_DIG, LDBL_MANT_DIG | A result could not be computed because it would be beyond the range of values that can be stored in its data type. |
| FLT_DIG, DBL_DIG, LDBL_DIG | The decimal digit precision. |
| FLT_MIN_EXP, DBL_MIN_EXP, LDBL_MIN_EXP | The smallest negative integer exponent that FLT_RADIX can be raised to and still be expressible. |
| FLT_MIN_10_EXP, DBL_MIN_10_EXP, LDBL_MIN_10_EXP | The smallest negative integer exponent that 10 can be raised to and still be expressible. |
| FLT_MAX_EXP, DBL_MAX_EXP, LDBL_MAX_EXP | The largest positive integer exponent that FLT_RADIX can be raised to and still be expressible. |
| FLT_MAX_10_EXP, DBL_MAX_10_EXP, LDBL_MAX_10_EXP | The largest positive integer exponent that 10 can be raised to and still be expressible. |
| FLT_MIN, DBL_MIN, LDBL_MIN | The smallest positive floating point value expressible in the data type. |
| FLT_MAX, DBL_MAX, LDBL_MAX | The largest floating point value expressible in the data type. |
| FLT_EPSILON, DBL_EPSILON, LDBL_EPSILON | The smallest fraction expressible in the data type. |