public static operator/( readonly notnull r1 as Rational, readonly notnull r2 as Rational ) as Rational throws ZeroDivisionException
Overloaded division operator for Rational numbers.
| Parameter | Description |
|---|---|
r1 | First rational number. |
r2 | Second rational number. |
Quotient of the two rational numbers.
assert Rational(1, 3) / Rational(2, 1) == Rational(1, 6)