BloombergLP::bdldfp::DecimalImpUtil::sameQuantum

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

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
bool
sameQuantum(
    ValueType64 x,
    ValueType64 y);

Return Value

true if x and y have the same quantum exponents

Parameters

NameDescription
xfirst value
ysecond value