C Programming/float.h

The header float.h contains macros that expand to various limits and parameters of the standard floating-point types.

The macros, as defined on ISO 9899:1999 section 5.2.4.2.2, are:


 * – indicates the rounding mode for floating-point addition, meaning:
 * indeterminable;
 * toward zero;
 * to nearest;
 * toward positive infinity;
 * toward negative infinity;
 * other value means implementation-defined rounding behavior.


 * (C99) – determines the evaluation formats of expressions involving all floating types:
 * indeterminable;
 * evaluate all operations and constants just to the precision of the type;
 * evaluate operations and constants of type float and double to the range and precision of the double type;
 * evaluate all operations and constants to the range and precision of the long double type;
 * other value means implementation-defined behavior.


 * – radix of exponent representation (at least ).


 * ,,   – number of digits in the floating-point significand.


 * (C99) – (at least )


 * ,,   - (at least  ,  ,  )




 * ,,  , (at least  )




 * ,,   (at least  )


 * ,,   – (Maximum value, at least  )


 * ,,   – (Machine epsilon, no greater than  ,  ,  )


 * ,,   – (no greater than  )