[#BloombergLP-bdldfp-DecimalImpUtil-negate-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::negate
:relfileprefix: ../../../
:mrdocs:

Return the result of applying the unary negation (`&hyphen;`) operator to the specified `value` as described by IEEE&hyphen;754&period; Note that decimal floating point representations can encode signed zero values, thus negating 0 results in &hyphen;0 and negating &hyphen;0 results in 0&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[DecimalImpUtil::ValueType32]
negate(xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] value);
----


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