[#BloombergLP-bdldfp-DecimalImpUtil-notEqual-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::notEqual :relfileprefix: ../../../ :mrdocs: Return `false` if the specified `lhs` and `rhs` have the same value, and `true` 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: == Synopsis Declared in `<bdldfp_decimalimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool notEqual( xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] lhs, xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] rhs); ---- == Description * both have a zero value (positive or negative), or * both have the same infinity value (both positive or negative), or * 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`. [.small]#Created with https://www.mrdocs.com[MrDocs]#