[#BloombergLP-bdldfp-DecimalImpUtil_IntelDfp-notEqual-0e]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp.adoc[DecimalImpUtil&lowbar;IntelDfp]::notEqual
:relfileprefix: ../../../
:mrdocs:

Return whether two decimal values differ&period;

== Synopsis

Declared in `&lt;bdldfp&lowbar;decimalimputil&lowbar;inteldfp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
notEqual(
    xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/ValueType32.adoc[ValueType32] lhs,
    xref:BloombergLP/bdldfp/DecimalImpUtil_IntelDfp/ValueType32.adoc[ValueType32] rhs);
----

== Description

Return `false` if the specified `lhs` and `rhs` have the same value, and `true` 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;

&ast; both have a zero value (positive or negative), or &ast; both have the same infinity value (both positive or negative), or &ast; both have the value of a real number that are equal, even if they are represented differently (cohorts have the same value)

If either or both operands are signaling NaN, store the value of the macro `EDOM` into `errno` and return `false`&period;

== Return Value

`true` if `lhs` and `rhs` are not equal

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| left&hyphen;hand decimal value
| *rhs*
| right&hyphen;hand decimal value
|===


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