Synopsis

Declared in <bdldfp_decimal.h>

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

Static Data Members

Name

Description

digits

The maximum number of significant digits, in the native (10) radix of the BloombergLP::bdldfp::Decimal32 type that the type is able to represent. Defined to be 7 by IEEE‐754.

digits10

The maximum number of significant decimal digits that the BloombergLP::bdldfp::Decimal32 type is able to represent. Defined to be 7 by IEEE‐754.

has_denorm [deprecated]

BloombergLP::bdldfp::Decimal32 may contain denormal values.

has_denorm_loss

BloombergLP::bdldfp::Decimal32 is able to distinguish loss of precision (floating‐point underflow) due to denormalization from other causes.

has_infinity

BloombergLP::bdldfp::Decimal32 can represent infinity.

has_quiet_NaN

BloombergLP::bdldfp::Decimal32 can be a non‐signaling Not a Number.

has_signaling_NaN

BloombergLP::bdldfp::Decimal32 can be a signaling Not a Number.

is_bounded

Decimal floating‐point types represent a finite set of values.

is_exact

BloombergLP::bdldfp::Decimal32 is not an exact type, i.e.: calculations done on the type are not free of rounding errors. Note that integer and possibly rational types may be exact, floating‐point types are never exact.

is_iec559

Decimal floating‐point is not covered by the IEC 559 standard.

is_integer

BloombergLP::bdldfp::Decimal32 is not an integer type.

is_modulo

Decimal floating‐point types do not have modulo representation.

is_signed

BloombergLP::bdldfp::Decimal32 is a signed type.

is_specialized

The template instance std::numeric_limits<BloombergLP::bdldfp::Decimal32> is meaningfully specialized. Also means that BloombergLP::bdldfp::Decimal32 is a numeric type.

max_digits10

The number of significant decimal digits necessary to uniquely represent the significant digits of any BloombergLP::bdldfp::Decimal32 value. Note that max_digit10 is the same as digits10 for decimal floating‐point values.

max_exponent

The highest possible positive exponent for the native base of the BloombergLP::bdldfp::Decimal32 type that represents a finite value. Defined to be 96 by IEEE‐754.

max_exponent10

The highest possible positive decimal exponent of the BloombergLP::bdldfp::Decimal32 type that represents a finite value. Defined to be 97 by IEEE‐754. Note that max_exponent10 is the same as max_exponent for decimal types.

max_precision

The highest possible precision in the BloombergLP::bdldfp::Decimal32 type that is large enough to output the smallest non‐zero denormalized value in fixed notation.

min_exponent

The lowest possible negative exponent for the native base of the BloombergLP::bdldfp::Decimal32 type that does not yet represent a denormal number. Defined to be ‐95 by IEEE‐754.

min_exponent10

The lowest possible negative decimal exponent in the BloombergLP::bdldfp::Decimal32 type that does not yet represent a denormal number. Defined to be ‐95 by IEEE‐754. Note that min_exponent10 is the same as min_exponent for decimal types.

radix

The base for BloombergLP::bdldfp::Decimal32 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).

Created with MrDocs