MCPcopy Create free account
hub / github.com/boostorg/compute / rand_int

Function rand_int

perf/perf_partition_point.cpp:24–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include "perf.hpp"
23
24int rand_int()
25{
26 return static_cast<int>((rand() / double(RAND_MAX)) * 25.0);
27}
28
29int main(int argc, char *argv[])
30{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected