[#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 negation of `value`. == Synopsis Declared in `<bdldfp_decimalimputil.h>` [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); ---- == Description Note that decimal floating point representations can encode signed zero values, thus negating 0 results in ‐0 and negating ‐0 results in 0. == Return Value the negation of `value` == Parameters [cols="1,4"] |=== | Name| Description | *value* | value to negate |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#