[#BloombergLP-bdldfp-operator_eq-0b6] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::operator== :relfileprefix: ../../ :mrdocs: Equality operators == Synopses Declared in `<bdldfp_decimal.h>` Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. Two `DecimalFormatConfig` objects have the same value if each of their attributes (respectively) have the same value. Note that comparison of two string type attributes are done via 'bsl::strcmp() function. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-0b5.adoc[operator==]( 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..._]# Return `true` if the specified `lhs` and the specified `rhs` objects have the same value, and `false` otherwise. Two `Uint128` objects have the same value if both of their `low` and `high` attributes are the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-05.adoc[operator==]( 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..._]# Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. Two `Decimal32` objects have the same value if the `compareQuietEqual` operation (IEEE‐754 defined, non‐total ordering comparison) considers the underlying IEEE representations equal. In other words, two `Decimal32` objects have the same value if: [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-0c2.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs, xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-0c2.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. Two `Decimal64` objects have the same value if the `compareQuietEqual` operation (IEEE‐754 defined, non‐total ordering comparison) considers the underlying IEEE representations equal. In other words, two `Decimal64` objects have the same value if: [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-0c0.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs, xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-0c0.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. Two decimal objects have the same value if the `compareQuietEqual` operation (IEEE‐754 defined, non‐total ordering comparison) considers the underlying IEEE representations equal. In other words, two decimal objects have the same value if: [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-03.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs, xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-03.adoc[_» more..._]# Decimal arithmetic/comparison operation: `bool operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-0a5.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs, xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-0a5.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. Two `Decimal128` objects have the same value if the `compareQuietEqual` operation (IEEE‐754 defined, non‐total ordering comparison) considers the underlying IEEE representations equal. In other words, two `Decimal128` objects have the same value if: [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-07.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs, xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-07.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. Two decimal objects have the same value if the `compareQuietEqual` operation (IEEE‐754 defined, non‐total ordering comparison) considers the underlying IEEE representations equal. In other words, two decimal objects have the same value if: [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-0a6.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs, xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-0a6.adoc[_» more..._]# Decimal arithmetic/comparison operation: `bool operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-08.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs, xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-08.adoc[_» more..._]# Decimal arithmetic/comparison operation: `bool operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-00.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs, xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-00.adoc[_» more..._]# Decimal arithmetic/comparison operation: `bool operator==`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-02.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs, xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-02.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#