(BigInt y)
| 151 | } |
| 152 | |
| 153 | public BigInt multiply(BigInt y) { |
| 154 | if ((bipart == null) && (y.bipart == null)) { |
| 155 | long ret = lpart * y.lpart; |
| 156 | if (y.lpart == 0 || |
| 157 | (ret / y.lpart == lpart && lpart != Long.MIN_VALUE)) |
| 158 | return BigInt.valueOf(ret); |
| 159 | } |
| 160 | return BigInt.fromBigInteger(this.toBigInteger().multiply(y.toBigInteger())); |
| 161 | } |
| 162 | |
| 163 | public BigInt quotient(BigInt y) { |
| 164 | if ((bipart == null) && (y.bipart == null)) { |
nothing calls this directly
no test coverage detected