operator - method

Uint256 operator -(
  1. Uint256 other
)

Implementation

Uint256 operator -(Uint256 other) {
  final (r0, m1) = Uint64.sbb(_d0, other._d0, Uint64.zero);
  final (r1, m2) = Uint64.sbb(_d1, other._d1, m1);
  final (r2, m3) = Uint64.sbb(_d2, other._d2, m2);
  final (r3, _) = Uint64.sbb(
    _d3,
    other._d3,
    m3,
  ); // top borrow discarded: wrapping
  return Uint256._(r3, r2, r1, r0);
}