Next: , Previous: , Up: Operators   [Contents][Index]


6.3.1 Unary Minus

Unary minus is defined for scalars and arrays (both real and complex). It precedes its operand and changes the sign of the operand from positive to negative or vice versa. For example, if x equals 16, then -x equals -16, and --x equals 16.