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

Same as the overload taking `Decimal64`&period;

== Synopsis

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

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

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