operator + method

Uint64 operator +(
  1. Uint64 other
)

Implementation

Uint64 operator +(Uint64 other) {
  final lo = _lo + other._lo;
  final carry = lo > _mask32 ? 1 : 0;
  final hi = (_hi + other._hi + carry) & _mask32;
  return Uint64._(hi, lo & _mask32);
}