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

Function main

test/embind/test_float_constants.cpp:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21int main() {
22 EM_ASM(
23 out("PI (as double) = " + Module['PI']);
24 out("EULER = " + Module['EULER']);
25 out("pi (as float) = " + Module['pi']);
26 out("euler = " + Module['euler']);
27 );
28}

Callers

nothing calls this directly

Calls 2

EM_ASMFunction · 0.70
outFunction · 0.50

Tested by

no test coverage detected