BloombergLP::bdldfp::DecimalUtil::sameQuantum

Same as the overload taking Decimal64.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
bool
sameQuantum(
    Decimal128 x,
    Decimal128 y);

Return Value

true if x and y have the same quantum exponents

Parameters

NameDescription
xfirst operand
ysecond operand