MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / bigIntToParts

Function bigIntToParts

src/polyfill/bigint64array.js:19–23  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

17 }
18
19 function bigIntToParts(value) {
20 var lower = Number(BigInt(value) & BigInt(0xffffffff)) | 0;
21 var upper = Number(BigInt(value) >> 32n) | 0;
22 return [lower, upper];
23 }
24
25 function createBigIntArrayShim(partsToBigInt) {
26 function createBigInt64Array(array) {

Callers 1

setFunction · 0.85

Calls 1

BigIntClass · 0.85

Tested by

no test coverage detected