[#BloombergLP-bdldfp-operator_eq-0b6]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Equality operators

== Synopses

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

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `DecimalFormatConfig` objects have the same value if each of their attributes (respectively) have the same value&period; Note that comparison of two string type attributes are done via &apos;bsl&colon;&colon;strcmp() function&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_eq-0b5.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdldfp/DecimalFormatConfig.adoc[DecimalFormatConfig] const& lhs,
    xref:BloombergLP/bdldfp/DecimalFormatConfig.adoc[DecimalFormatConfig] const& rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_eq-0b5.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and the specified `rhs` objects have the same value, and `false` otherwise&period; Two `Uint128` objects have the same value if both of their `low` and `high` attributes are the same&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_eq-05.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdldfp/Uint128.adoc[Uint128] const& lhs,
    xref:BloombergLP/bdldfp/Uint128.adoc[Uint128] const& rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_eq-05.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise&period; Two `Decimal32` objects have the same value if the `compareQuietEqual` operation (IEEE&hyphen;754 defined, non&hyphen;total ordering comparison) considers the underlying IEEE representations equal&period; In other words, two `Decimal32` objects have the same value if&colon;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_eq-0c2.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs,
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_eq-0c2.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise&period; Two `Decimal64` objects have the same value if the `compareQuietEqual` operation (IEEE&hyphen;754 defined, non&hyphen;total ordering comparison) considers the underlying IEEE representations equal&period; In other words, two `Decimal64` objects have the same value if&colon;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_eq-0c0.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs,
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_eq-0c0.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise&period; Two decimal objects have the same value if the `compareQuietEqual` operation (IEEE&hyphen;754 defined, non&hyphen;total ordering comparison) considers the underlying IEEE representations equal&period; In other words, two decimal objects have the same value if&colon;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_eq-03.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs,
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_eq-03.adoc[_» more&period;&period;&period;_]#

Decimal arithmetic&sol;comparison operation&colon; `bool operator&equals;&equals;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_eq-0a5.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs,
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_eq-0a5.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise&period; Two `Decimal128` objects have the same value if the `compareQuietEqual` operation (IEEE&hyphen;754 defined, non&hyphen;total ordering comparison) considers the underlying IEEE representations equal&period; In other words, two `Decimal128` objects have the same value if&colon;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_eq-07.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_eq-07.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise&period; Two decimal objects have the same value if the `compareQuietEqual` operation (IEEE&hyphen;754 defined, non&hyphen;total ordering comparison) considers the underlying IEEE representations equal&period; In other words, two decimal objects have the same value if&colon;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_eq-0a6.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_eq-0a6.adoc[_» more&period;&period;&period;_]#

Decimal arithmetic&sol;comparison operation&colon; `bool operator&equals;&equals;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_eq-08.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs,
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_eq-08.adoc[_» more&period;&period;&period;_]#

Decimal arithmetic&sol;comparison operation&colon; `bool operator&equals;&equals;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_eq-00.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_eq-00.adoc[_» more&period;&period;&period;_]#

Decimal arithmetic&sol;comparison operation&colon; `bool operator&equals;&equals;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_eq-02.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs,
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_eq-02.adoc[_» more&period;&period;&period;_]#


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