remainder method
other
The divisor
Returns a new BigRational representing the remainder of the division.
Implementation
BigRational remainder(BigRational other) {
return this - (this ~/ other) * other;
}
other
The divisor
Returns a new BigRational representing the remainder of the division.
BigRational remainder(BigRational other) {
return this - (this ~/ other) * other;
}