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

Method multiply

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

Source from the content-addressed store, hash-verified

151}
152
153public 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
163public BigInt quotient(BigInt y) {
164 if ((bipart == null) && (y.bipart == null)) {

Callers

nothing calls this directly

Calls 4

valueOfMethod · 0.95
fromBigIntegerMethod · 0.95
toBigIntegerMethod · 0.95
multiplyMethod · 0.65

Tested by

no test coverage detected