MCPcopy Create free account
hub / github.com/nodejs/node / wasmF64Const

Function wasmF64Const

test/fixtures/wpt/wasm/jsapi/wasm-module-builder.js:1637–1644  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

1635globalThis.wasmI32Const = wasmI32Const;
1636
1637function wasmF64Const(f) {
1638 // Write in little-endian order at offset 0.
1639 data_view.setFloat64(0, f, true);
1640 return [
1641 kExprF64Const, byte_view[0], byte_view[1], byte_view[2],
1642 byte_view[3], byte_view[4], byte_view[5], byte_view[6], byte_view[7]
1643 ];
1644}
1645globalThis.wasmF64Const = wasmF64Const;

Callers 4

defaultForMethod · 0.70
exports.any.jsFile · 0.50
multi-value.any.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected