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

Method Mult

test/core/test_intvars.cpp:46–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 {
45 struct Fixed {
46 static int Mult(int a, int b) {
47 return ((long long)a * (long long)b) >> 16;
48 }
49 };
50 printf("fixed:%d\n", Fixed::Mult(150000, 140000));
51 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected