modAdd method

BigInt modAdd(
  1. BigInt other,
  2. BigInt m
)

Implementation

BigInt modAdd(BigInt other, BigInt m) {
  return (this + other).mod(m);
}