##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# FLT_ROUNDS

From cppreference.com
< c‎ | types‎ | limits

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

### [edit] See also

C++ documentation for FLT_ROUNDS

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/types/limits/FLT_ROUNDS&oldid=63567"