operator ~/ method

Uint32 operator ~/(
  1. Uint32 other
)

Both operands are always < 2^32 (well within the double-safe range), so plain int division/modulo here is exact directly — no BigInt or limb decomposition needed.

Implementation

Uint32 operator ~/(Uint32 other) {
  if (other.isZero) throw IntegerError.divisionByZero;
  return Uint32._(_value ~/ other._value);
}