GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::float_round_style(3) C++ Standard Libary std::float_round_style(3)

std::float_round_style - std::float_round_style


Defined in header <limits>
enum float_round_style {


round_indeterminate = -1,
round_toward_zero = 0,
round_to_nearest = 1,
round_toward_infinity = 2,
round_toward_neg_infinity = 3


};


Enumeration constants of type std::float_round_style indicate the rounding style
used by floating-point arithmetics whenever a result of an expression is stored in
an object of a floating-point type. The values are:


Enumeration constants


Name Definition
std::round_indeterminate Rounding style cannot be determined
std::round_toward_zero Rounding toward zero
std::round_to_nearest Rounding toward nearest representable value
std::round_toward_infinity Rounding toward positive infinity
std::round_toward_neg_infinity Rounding toward negative infinity


round_style identifies the rounding style used by the type
[static] (public static member constant)
FE_DOWNWARD
FE_TONEAREST floating-point rounding direction
FE_TOWARDZERO (macro constant)
FE_UPWARD
(C++11)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.