(BigInt y)
| 161 | } |
| 162 | |
| 163 | public BigInt quotient(BigInt y) { |
| 164 | if ((bipart == null) && (y.bipart == null)) { |
| 165 | if (lpart == Long.MIN_VALUE && y.lpart == -1) |
| 166 | return BigInt.fromBigInteger(this.toBigInteger().negate()); |
| 167 | return BigInt.valueOf(lpart / y.lpart); |
| 168 | } |
| 169 | return BigInt.fromBigInteger(this.toBigInteger().divide(y.toBigInteger())); |
| 170 | } |
| 171 | |
| 172 | public BigInt remainder(BigInt y) { |
| 173 | if ((bipart == null) && (y.bipart == null)) { |
nothing calls this directly
no test coverage detected