6.6.13 FLT_EVAL_METHOD Macro

Specifies the range and precision of floating operands and values subject to the usual arithmetic conversions and of floating constants. The possible values and meanings are as follows.

Include

<float.h>

Definition

The value 0 for all compilers, implying that all operations and constants are evaluated just to the range and precision of the type.

Remarks

The meaning of values for this macro as defined by the C standard are as follows.

-1
indeterminable
0
evaluate all operations and constants just to the range and precision of the type
1
evaluate operations and constants of type float and double to the range and precision of the double type, evaluate long double operations and constants to the range and precision of the long double type
2
evaluate all operations and constants to the range and precision of the long double type