MCPcopy Create free account
hub / github.com/MultithreadedJSBook/code-samples / is_happycoin

Function is_happycoin

ch1-c-threads/happycoin.c:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33bool is_happycoin(uint64_t num) {
34 return is_happy(num) && num % 10000 == 0;
35}
36
37int main() {
38 uint32_t seed = time(NULL);

Callers 1

mainFunction · 0.70

Calls 1

is_happyFunction · 0.70

Tested by

no test coverage detected