Negate
Negates a number (or inverses the sign).
Inputs:
- Num: The number to negate.
Outputs:
- -Num: The negated number.
Examples
- The top one turns
5
into-5
while the last one turns-8
into8
. Positive numbers will become negative, and vice versa.