operator unary- method

I32 operator unary-()
override

Subtracts other from this number.

The result is an int, as described by int.-, if both this number and other is an integer, otherwise the result is a double.

Implementation

I32 operator -() => I32((-value).toSigned(32));