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

Method quotient

src/jvm/clojure/lang/Numbers.java:194–199  ·  view source on GitHub ↗
(Object x, Object y)

Source from the content-addressed store, hash-verified

192}
193
194static public Number quotient(Object x, Object y){
195 Ops yops = ops(y);
196 if(yops.isZero((Number) y))
197 throw new ArithmeticException("Divide by zero");
198 return ops(x).combine(yops).quotient((Number)x, (Number)y);
199}
200
201static public Number remainder(Object x, Object y){
202 Ops yops = ops(y);

Callers 1

quotientMethod · 0.95

Calls 6

opsMethod · 0.95
isZeroMethod · 0.95
quotientMethod · 0.65
combineMethod · 0.65
doubleValueMethod · 0.45
toBigIntegerMethod · 0.45

Tested by

no test coverage detected