MCPcopy Index your code
hub / github.com/clojure/clojure / quotient

Method quotient

src/jvm/clojure/lang/BigInt.java:163–170  ·  view source on GitHub ↗
(BigInt y)

Source from the content-addressed store, hash-verified

161}
162
163public 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
172public BigInt remainder(BigInt y) {
173 if ((bipart == null) && (y.bipart == null)) {

Callers

nothing calls this directly

Calls 5

fromBigIntegerMethod · 0.95
toBigIntegerMethod · 0.95
valueOfMethod · 0.95
negateMethod · 0.65
divideMethod · 0.65

Tested by

no test coverage detected