operator + method

Uint128 operator +(
  1. Uint128 other
)

Implementation

Uint128 operator +(Uint128 other) {
  final (loSum, carry) = Uint64.adc(_lo, other._lo, Uint64.zero);
  final hiSum = _hi + other._hi + carry;
  return Uint128._(hiSum, loSum);
}