android/guava/src/com/google/common/primitives/UnsignedInteger.java
public UnsignedInteger mod(UnsignedInteger val) {
    return fromIntBits(UnsignedInts.remainder(value, checkNotNull(val).value));
  }
public UnsignedInteger mod(UnsignedInteger val) {
    return fromIntBits(UnsignedInts.remainder(value, checkNotNull(val).value));
  }
Returns this mod {@code val}.

@throws ArithmeticException if {@code val} is zero
@since 14.0