Namespaces
Variants
Views
Actions

FLT_ROUNDS

From cppreference.com
< c‎ | types‎ | limits
Revision as of 17:36, 9 July 2013 by P12bot (Talk | contribs)

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

See also

C++ documentation for FLT_ROUNDS