sameQuantum overloads

Synopses

Declared in <bdldfp_decimalutil.h>

Same as the overload taking Decimal64.

static
bool
sameQuantum(
    Decimal128 x,
    Decimal128 y);

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

static
bool
sameQuantum(
    Decimal32 x,
    Decimal32 y);

Same as the related overload above for sameQuantum.

static
bool
sameQuantum(
    Decimal64 x,
    Decimal64 y);

Return Value

true if x and y have the same quantum exponents

Parameters

Name

Description

x

first operand

y

second operand

Created with MrDocs