Defined in header <cfloat> #define FLT_ROUNDS /* implementation defined */ (since C++11)
Specifies the current rounding direction of floating-point arithmetic operations.
Value Explanation -1 the default rounding direction is not known 0 toward zero, FE_TOWARDZERO 1 to nearest, FE_TONEAREST 2 towards positive infinity, FE_UPWARD 3 towards negative infinity, FE_DOWNWARD other values implementation-defined behavior
Notes
The rounding mode can