MCPcopy Create free account
hub / github.com/gomatcha/matcha / foreignToFloat64

Method foreignToFloat64

cmd/Tracker.java:103–109  ·  view source on GitHub ↗
(long v)

Source from the content-addressed store, hash-verified

101 return track(v);
102 }
103 public synchronized double foreignToFloat64(long v) {
104 Object a = this.get(v);
105 if (a instanceof Float) {
106 return ((Float)a).doubleValue();
107 }
108 return (Double)a;
109 }
110 public synchronized long foreignGoRef(long v) {
111 return track(new GoValue(v, false));
112 }

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected