public override Numeric divReversed(Numeric x) { if (! (x is RatNum)) throw new ArgumentException (); return RatNum.divide ((RatNum)x, this); }
public override int compareReversed(Numeric x) { return RatNum.compare ((RatNum) x, this); }
public override Numeric addReversed(Numeric x, int k) { if (! (x is RatNum)) throw new ArgumentException (); return RatNum.add ((RatNum)x, this, k); }
public virtual Numeric divReversed(Numeric x) { throw new ArgumentException (); }
public virtual int compareReversed(Numeric x) { throw new ArgumentException (); }
/** Calculate x+k&this. */ public virtual Numeric addReversed(Numeric x, int k) { throw new ArgumentException (); }