Return true if x and y have the same quantum exponents.
Declared in <bdldfp_decimalimputil.h>
static
bool
sameQuantum(
ValueType32 x,
ValueType32 y);
If both arguments are NaN or both arguments are infinity, they have the same quantum exponents. Note that if exactly one operand is NaN or exactly one operand is infinity, they do not have the same quantum exponents.
true if x and y have the same quantum exponents
| Name | Description |
|---|---|
| x | first value |
| y | second value |