BloombergLP::bdldfp::DecimalUtil::sameQuantum

Same as the related overload above for sameQuantum.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
bool
sameQuantum(
    Decimal64 x,
    Decimal64 y);

Return Value

true if x and y have the same quantum exponents

Parameters

NameDescription
xfirst operand
ysecond operand