Standard C++ Library Reference ISO/IEC (VERSION3)
The enumeration describes the various methods that an implementation can choose for rounding
a floating-point value to an integer value:
round_indeterminate -- rounding method cannot be determined●
round_toward_zero -- round toward zero●
round_to_nearest -- round to nearest integer●
round_toward_infinity -- round away from zero●
round_toward_neg_infinity -- round to more negative integer●
numeric_limits
template<class Ty>
class numeric_limits {
public:
static const float_denorm_style has_denorm
= denorm_absent;
static const bool has_denorm_loss = false;
static const bool has_infinity = false;
static const bool has_quiet_NaN = false;
static const bool has_signaling_NaN = false;
static const bool is_bounded = false;
static const bool is_exact = false;
static const bool is_iec559 = false;
static const bool is_integer = false;
static const bool is_modulo = false;
static const bool is_signed = false;
static const bool is_specialized = false;
static const bool tinyness_before = false;
static const bool traps = false;
static const float_round_style round_style =
round_toward_zero;
static const int digits = 0;
static const int digits10 = 0;
static const int max_exponent = 0;
static const int max_exponent10 = 0;
static const int min_exponent = 0;
static const int min_exponent10 = 0;
static const int radix = 0;
static Ty denorm_min() throw();
static Ty epsilon() throw();
static Ty infinity() throw();