MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / d

Method d

chapter20/src/test/java/com/seaofnodes/simple/Eval2.java:295–295  ·  view source on GitHub ↗
( Node n )

Source from the content-addressed store, hash-verified

293 static long x( Node n ) { Object d = F.get(n); return d==null ? 0 : (Long) F.get(n); }
294 // Fetch and unbox as primitive double
295 static double d( Node n ) { Object d = F.get(n); return d==null ? 0 : (Double)F.get(n); }
296 // Fetch and unbox a function constant
297 static TypeFunPtr tfp(Node n) { return (TypeFunPtr)F.get(n); }
298 // Fetch and unbox a closure

Callers 1

computeMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected