BloombergLP::bdldfp::DecimalUtil::quantum

quantum overloads

Synopses

Declared in <bdldfp_decimalutil.h>

Same as the related overload above for quantum.

static
int
quantum(Decimal128 value);
» more...

Return the exponent field of the specified value.

static
int
quantum(Decimal32 value);
» more...

Same as the related overload above for quantum.

static
int
quantum(Decimal64 value);
» more...

Return Value

exponent field of value

Parameters

NameDescription
valuedecimal value whose exponent is returned