klyn.math.Rational.operator/
method
public static operator/( readonly notnull r1 as Rational, readonly notnull r2 as Rational ) as Rational throws ZeroDivisionError:
Description

Overloaded division operator for Rational numbers.

Parameters
  • r1 First rational number.
  • r2 Second rational number.
Returns

Quotient of the two rational numbers.

Throws
  • ZeroDivisionException if the second rational number is zero.
  • ZeroDivisionError if this operation fails with `ZeroDivisionError`.