(Number x, Number y)
| 796 | } |
| 797 | |
| 798 | public Number quotient(Number x, Number y){ |
| 799 | Ratio rx = toRatio(x); |
| 800 | Ratio ry = toRatio(y); |
| 801 | BigInteger q = rx.numerator.multiply(ry.denominator).divide( |
| 802 | rx.denominator.multiply(ry.numerator)); |
| 803 | return normalizeRet(BigInt.fromBigInteger(q), x, y); |
| 804 | } |
| 805 | |
| 806 | public Number remainder(Number x, Number y){ |
| 807 | Ratio rx = toRatio(x); |
nothing calls this directly
no test coverage detected