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

Function writeI53ToI64_int64

test/core/test_int53.c:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14EM_JS_DEPS(main, "$convertI32PairToI53,$convertU32PairToI53,$readI53FromU64,$readI53FromI64,$writeI53ToI64,$writeI53ToI64Clamped,$writeI53ToU64Clamped,$writeI53ToI64Signaling,$writeI53ToU64Signaling");
15
16void writeI53ToI64_int64(int64_t *heapAddress, int64_t num) {
17#ifdef GENERATE_ANSWERS
18 *heapAddress = num;
19#else
20 EM_ASM(writeI53ToI64($0, $1), heapAddress, (double)num);
21#endif
22}
23
24void writeI53ToI64_uint64(uint64_t *heapAddress, uint64_t num) {
25#ifdef GENERATE_ANSWERS

Callers 2

testWriteI64AsI53Function · 0.85
testReadWriteI64AsI53Function · 0.85

Calls 1

EM_ASMFunction · 0.50

Tested by

no test coverage detected