FLT_ROUNDS
From cppreference.com
Defined in header
<float.h>
|
||
#define FLT_ROUNDS /* implementation defined */
|
(since C99) | |
Specifies the rounding direction of floating-point arithmetic operations.
Value | Explanation |
-1
|
the default rounding direction is not known |
0
|
toward zero |
1
|
to nearest |
2
|
towards positive infinity |
3
|
towards negative infinity |
other values | implementation-defined behavior |