| Defined in header |
#define FLT_ROUNDS /* implementation defined */
Returns the current rounding direction of floating-point arithmetic operations.
| ||the default rounding direction is not known|
| || toward zero; same meaning as
| || to nearest; same meaning as
| || towards positive infinity; same meaning as
| || towards negative infinity; same meaning as
|other values||implementation-defined behavior|
The rounding mode can be changed with
FLT_ROUNDS reflects that change.
| gets or sets rounding direction
| floating-point rounding direction
| C++ documentation for
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.