operator + method

I64 operator +(
  1. I64 other
)
override

Adds other to 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

I64 operator +(I64 other) => I64((value + other.value).toSigned(64));