[#BloombergLP-bdldfp-operator_not_eq-084]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::operator!&equals;
:relfileprefix: ../../
:mrdocs:

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

== Synopsis

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

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

== Description

&ast; both are NaN, or &ast; one is zero (positive or negative) and the other is not, or &ast; one is positive infinity and the other is not, or &ast; one is negative infinity and the other is not, or &ast; both have the value of a real number that are not equal, regardless of their representation (cohorts are equal)

This operation stores the value of the macro `EDOM` into `errno` if either or both operands are signaling NaN&period;

Note that a NaN is never equal to anything, including itself&colon; &grave; Decimal32 aNaN &equals; std&colon;&colon;numeric&lowbar;limits&lt;Decimal32&gt;&colon;&colon;quiet&lowbar;NaN()&semi; assert(aNan !&equals; aNan)&semi; &grave;


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