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