Return the negation of value.

Synopsis

Declared in <bdldfp_decimalimputil.h>

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

Name

Description

value

value to negate

Created with MrDocs