A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/algorithm/../../cpp/error/../../cpp/types/climits/FLT_ROUNDS.html below:

FLT_ROUNDS - cppreference.com

#define FLT_ROUNDS /* implementation defined */

Specifies the current rounding direction of floating-point arithmetic operations.

Value Explanation -1 the default rounding direction is not known 0 toward zero; same meaning as FE_TOWARDZERO 1 to nearest; same meaning as FE_TONEAREST 2 towards positive infinity; same meaning as FE_UPWARD 3 towards negative infinity; same meaning as FE_DOWNWARD other values implementation-defined behavior [edit] Notes

The rounding mode can be changed with std::fesetround and FLT_ROUNDS reflects that change.

The possible values of FLT_ROUNDS match the possible values of std::float_round_style, returned by std::numeric_limits::round_style.

[edit] See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4