Return the IEEE‐754 negation of a decimal value.

Synopsis

Declared in <bdldfp_decimalimputil_inteldfp.h>

Description

Return the result of applying the unary ‐ operator to the specified value as described by IEEE‐754. Note that floating‐point numbers have signed zero, therefore this operation is not the same as 0‐value.

Return Value

negated value of value

Parameters

Name

Description

value

decimal value to negate

Created with MrDocs