negate
Changes the sign of the input value.
value
The input value.
negated
A negative value if the input was positive, or a positive value if the input was negative. The magnitude of the input value is preserved.