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

Method invokeDI

src/jvm/clojure/lang/FnInvokers.java:118–124  ·  view source on GitHub ↗
(IFn f0, double a)

Source from the content-addressed store, hash-verified

116 }
117
118 public static int invokeDI(IFn f0, double a) {
119 if(f0 instanceof IFn.DL) {
120 return RT.intCast(((IFn.DL)f0).invokePrim(a));
121 } else {
122 return RT.intCast(f0.invoke(a));
123 }
124 }
125
126 public static int invokeOI(IFn f0, Object a) {
127 if(f0 instanceof IFn.OL) {

Callers

nothing calls this directly

Calls 3

intCastMethod · 0.95
invokePrimMethod · 0.65
invokeMethod · 0.65

Tested by

no test coverage detected