[#BloombergLP-bdldfp-DecimalUtil-sameQuantum-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil.adoc[DecimalUtil]::sameQuantum :relfileprefix: ../../../ :mrdocs: Return `true` if the specified `x` and `y` values have the same quantum exponents, and `false` otherwise. 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. == Synopsis Declared in `<bdldfp_decimalutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool sameQuantum( xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] x, xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] y); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#