operator ~/ method

Rational operator ~/(
  1. Rational other
)

Truncating division operator.

The result of the truncating division a ~/ b is equivalent to (a / b).truncate().

Implementation

Rational operator ~/(Rational other) => (this / other).truncate();