BloombergLP::bdldfp::faux_numeric_limits<BloombergLP::bdldfp::Decimal128, DUMMY_TYPE>

Traits specialization of std::numeric_limits for Decimal128.

Synopsis

Declared in <bdldfp_decimal.h>

template<class DUMMY_TYPE>
class faux_numeric_limits<BloombergLP::bdldfp::Decimal128, DUMMY_TYPE>;

Description

Explicit full specialization of the standard traits template std::numeric_limits for BloombergLP::bdldfp::Decimal128.

Static Data Members

NameDescription
digits The maximum number of significant digits, in the native (10) radix of the BloombergLP::bdldfp::Decimal128 type that the type is able to represent.
digits10 The maximum number of significant decimal digits that the BloombergLP::bdldfp::Decimal128 type is able to represent. Defined to be 34 by IEEE-754.
has_denorm [deprecated]BloombergLP::bdldfp::Decimal128 may contain denormal values.
has_denorm_loss BloombergLP::bdldfp::Decimal128 is able to distinguish loss of precision (floating-point underflow) due to denormalization from other causes.
has_infinity BloombergLP::bdldfp::Decimal128 can represent infinity.
has_quiet_NaN BloombergLP::bdldfp::Decimal128 can be a non-signaling Not a Number.
has_signaling_NaN BloombergLP::bdldfp::Decimal128 can be a signaling Not a Number.
is_bounded Decimal floating-point types represent a finite set of values.
is_exact BloombergLP::bdldfp::Decimal128 is not an exact type, i.e.: calculations done on the type are not free of rounding errors.
is_iec559 Decimal floating-point is not covered by the IEC 559 standard.
is_integer BloombergLP::bdldfp::Decimal128 is not an integer type.
is_modulo Decimal floating-point types do not have modulo representation.
is_signed BloombergLP::bdldfp::Decimal128 is a signed type.
is_specialized The template instance std::numeric_limits<BloombergLP::bdldfp::Decimal128> is meaningfully specialized.
max_digits10 The number of significant decimal digits necessary to uniquely represent the significant digits of any BloombergLP::bdldfp::Decimal128 value.
max_exponent The highest possible positive exponent for the native base of the BloombergLP::bdldfp::Decimal128 type that represents a finite value.
max_exponent10 The highest possible positive decimal exponent of the BloombergLP::bdldfp::Decimal128 type that represents a finite value.
max_precision Maximum fixed-notation precision needed for the smallest denormal.
min_exponent The lowest possible negative exponent for the native base of the BloombergLP::bdldfp::Decimal128 type that does not yet represent a denormal number.
min_exponent10 The lowest possible negative decimal exponent in the BloombergLP::bdldfp::Decimal128 type that does not yet represent a denormal number.
radix The base for BloombergLP::bdldfp::Decimal128 is decimal or 10.
round_style Decimal floating-point rounding style is defined to be indeterminate by the C and C++ Decimal TRs.
tinyness_before Decimal floating-point types are able to detect if a value is too small to represent as a normalized value before rounding it.
traps Decimal floating-point types implement traps to report arithmetic exceptions (required by IEEE-754).