operator + method

  1. @override
Int64 operator +(
  1. Object other
)

Addition operator.

Implementation

@override
Int64 operator +(Object other) {
  Int64 o = _promote(other);
  int sum0 = _l + o._l;
  int sum1 = _m + o._m + (sum0 >> _BITS);
  int sum2 = _h + o._h + (sum1 >> _BITS);
  return Int64._masked(sum0, sum1, sum2);
}