[#BloombergLP-bdldfp-DecimalUtil-sameQuantum-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil.adoc[DecimalUtil]::sameQuantum
:relfileprefix: ../../../
:mrdocs:

`sameQuantum` overloads

== Synopses

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

Same as the overload taking `Decimal64`&period;


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

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

Return `true` if `x` and `y` have the same quantum exponents&period;


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

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

Same as the related overload above for `sameQuantum`&period;


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

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

== Return Value

`true` if `x` and `y` have the same quantum exponents

== Parameters

[cols="1,4"]
|===
| Name| Description
| *x*
| first operand
| *y*
| second operand
|===


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