[#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&period; If both arguments are NaN or both arguments are infinity, they have the same quantum exponents&period; Note that if exactly one operand is NaN or exactly one operand is infinity, they do not have the same quantum exponents&period;

== Synopsis

Declared in `&lt;bdldfp&lowbar;decimalutil&period;h&gt;`

[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]#
