[#BloombergLP-bdldfp-DecimalImpUtil-sameQuantum-0d7]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::sameQuantum
:relfileprefix: ../../../
:mrdocs:

`sameQuantum` overloads

== Synopses

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

Return `true` if `x` and `y` have the same quantum, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/bdldfp/DecimalImpUtil/sameQuantum-0dd.adoc[sameQuantum](
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128] x,
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128] y);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/sameQuantum-0dd.adoc[_» more&period;&period;&period;_]#

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;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/bdldfp/DecimalImpUtil/sameQuantum-0c.adoc[sameQuantum](
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] x,
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] y);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/sameQuantum-0c.adoc[_» more&period;&period;&period;_]#

Return `true` if `x` and `y` have the same quantum, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/bdldfp/DecimalImpUtil/sameQuantum-0a.adoc[sameQuantum](
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] x,
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] y);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/sameQuantum-0a.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
