MCPcopy Create free account
hub / github.com/eva-engine/eva.js / floatReadValueFromPointer

Function floatReadValueFromPointer

examples/public/basis/basis_transcoder.js:891–891  ·  view source on GitHub ↗
(name, shift)

Source from the content-addressed store, hash-verified

889
890 return `${v}`;
891 } function floatReadValueFromPointer(name, shift) { switch (shift) { case 2:return function (pointer) { return this.fromWireType(HEAPF32[pointer >> 2]); }; case 3:return function (pointer) { return this.fromWireType(HEAPF64[pointer >> 3]); }; default:throw new TypeError(`Unknown float type: ${name}`); } } function __embind_register_float(rawType, name, size)
892 {
893 const shift = getShiftFromSize(size);
894

Callers 1

__embind_register_floatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected