(Number x, Number y)
| 771 | } |
| 772 | |
| 773 | final public Number add(Number x, Number y){ |
| 774 | Ratio rx = toRatio(x); |
| 775 | Ratio ry = toRatio(y); |
| 776 | Number ret = divide(ry.numerator.multiply(rx.denominator) |
| 777 | .add(rx.numerator.multiply(ry.denominator)) |
| 778 | , ry.denominator.multiply(rx.denominator)); |
| 779 | return normalizeRet(ret, x, y); |
| 780 | } |
| 781 | |
| 782 | final public Number multiply(Number x, Number y){ |
| 783 | Ratio rx = toRatio(x); |
nothing calls this directly
no test coverage detected