Standard C++ Library Class Reference
static const int max_exponent10 ;
static const int min_exponent ;
static const int max_exponent ;
static const bool has_infinity ;
static const bool has_quiet_NaN ;
static const bool has_signaling_NaN ;
static const bool is_iec559 ;
static const bool has_denorm ;
static const bool tinyness_before ;
static const float_round_style round_style ;
static T denorm_min ();
static T infinity ();
static T quiet_NaN ();
static T signaling_NaN ();
};
enum float_round_style {
round_indeterminate = -1,
round_toward_zero = 0,
round_to_nearest = 1,
round_toward_infinity = 2,
round_toward_neg_infinity = 3
};
Member fields and functions
static T
denorm_min ();
Returns the minimum denormalized value. Meaningful for all floating point types. For
types that do not allow denormalized values, this method must return the minimum
normalized value.
static const int
digits ;
Number of radix digits which can be represented without change. For built-in integer
types, digits will usually be the number of non-sign bits in the representation. For floating
point types, digits is the number of radix digits in the mantissa. This member is
meaningful for all specializations that declare is_bounded to be true.
static const int
digits10 ;
Number of base 10 digits that can be represented without change. Meaningful for all
specializations that declare is_bounded to be true.
static T
epsilon ();