4.6. Floating Point
4.6 Floating Point
- The accuracy of the floating-point operations and of the library functions in
<math.h>
and<complex.h>
that return floating-point results (C90, C99 and C11 5.2.4.2.2).The accuracy is unknown.
- The rounding behaviors characterized by non-standard values of
FLT_ROUNDS
(C90, C99 and C11 5.2.4.2.2).GCC does not use such values.
- The evaluation methods characterized by non-standard negative values of
FLT_EVAL_METHOD
(C99 and C11 5.2.4.2.2).GCC does not use such values.
- The direction of rounding when an integer is converted to a floating-point number that cannot exactly represent the original value (C90 6.2.1.3, C99 and C11 6.3.1.4).
C99 Annex F is followed.
- The direction of rounding when a floating-point number is converted to a narrower floating-point number (C90 6.2.1