BloombergLP::bdldfp::DecimalImpUtil::sameQuantum

Return true if x and y have the same quantum exponents.

Synopses

Declared in <bdldfp_decimalimputil.h>

Return true if x and y have the same quantum exponents.

static
bool
sameQuantum(
    ValueType128 x,
    ValueType128 y);
» more...

Return true if x and y have the same quantum exponents.

static
bool
sameQuantum(
    ValueType32 x,
    ValueType32 y);
» more...

Return true if x and y have the same quantum exponents.

static
bool
sameQuantum(
    ValueType64 x,
    ValueType64 y);
» more...

Return Value

true if x and y have the same quantum exponents

Parameters

NameDescription
xfirst value
ysecond value