##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# FLT_ROUNDS

From cppreference.com
< cpp‎ | types‎ | climits

Defined in header `<cfloat>` |  |
#define FLT_ROUNDS /* implementation defined */ |  | (since C++11)

Specifies the rounding direction of floating-point arithmetic operations. Equal to std::float_round_style

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

### [edit] See also

C documentation for FLT_ROUNDS

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/types/climits/FLT_ROUNDS&oldid=63490"