Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/compute
/ rand_int
Function
rand_int
perf/perf_set_symmetric_difference.cpp:22–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
#include
"perf.hpp"
21
22
int rand_int()
23
{
24
return static_cast<int>((rand() / double(RAND_MAX)) * 25.0);
25
}
26
27
int main(int argc, char *argv[])
28
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected