operator unary- abstract method

  1. @Since.new("3.14")
Int32x4 operator unary-()

Returns a new Int32x4 value where each lane is the negation of the value of the corresponding lane of this Int32x4.

Negating a value is equivalent to subtracting it from zero, which leaves the zero value unchanged and changes the sign of all other values if the negated value can be represented in the result.

An Int32x4 represents its values as two's complement 32-bit integers, so the result of negating a value n is effectively the same as (-n).toSigned(32), so negating the minimal value, -0x80000000, yields the same value again. For all values other than zero and -0x80000000, negating changes the sign of the value.

Implementation

@Since("3.14")
Int32x4 operator -();