[#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 `<bdldfp_decimalimputil.h>` Return `true` if `x` and `y` have the same quantum, and `false` otherwise. [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..._]# 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. [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..._]# Return `true` if `x` and `y` have the same quantum, and `false` otherwise. [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..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#