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

Method d

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

Source from the content-addressed store, hash-verified

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

Callers 1

computeMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected