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

Method invokeDF

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

Source from the content-addressed store, hash-verified

212 }
213
214 public static float invokeDF(IFn f0, double a) {
215 if(f0 instanceof IFn.DD) {
216 return RT.floatCast(((IFn.DD)f0).invokePrim(a));
217 } else {
218 return RT.floatCast(f0.invoke(a));
219 }
220 }
221
222 public static float invokeOF(IFn f0, Object a) {
223 if(f0 instanceof IFn.OD) {

Callers

nothing calls this directly

Calls 3

floatCastMethod · 0.95
invokePrimMethod · 0.65
invokeMethod · 0.65

Tested by

no test coverage detected