Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
33
bool is_happycoin(uint64_t num) {
34
return is_happy(num) && num % 10000 == 0;
35
}
36
37
int main() {
38
uint32_t seed = time(NULL);
Callers
1
main
Function · 0.70
Calls
1
is_happy
Function · 0.70
Tested by
no test coverage detected