BloombergLP::bdldfp::DecimalImpUtil::negate

Return the negation of value.

Synopses

Declared in <bdldfp_decimalimputil.h>

Return the negation of value.

static
DecimalImpUtil::ValueType128
negate(ValueType128 value);
» more...

Return the negation of value.

static
DecimalImpUtil::ValueType32
negate(ValueType32 value);
» more...

Return the negation of value.

static
DecimalImpUtil::ValueType64
negate(ValueType64 value);
» more...

Return Value

the negation of value

Parameters

NameDescription
valuevalue to negate