MCPcopy Create free account
hub / github.com/clMathLibraries/clFFT / random_int

Function random_int

src/tests/accuracy_test_random.cpp:101–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 random_value(random_parameter_generator, distribution);
100
101 size_t random_int() {
102 return random_value();
103 }
104
105 size_t random_int(size_t max) {
106 return random_value() % (max+1);

Callers 4

fifty_percent_chanceMethod · 0.85
generate_x_stridesMethod · 0.85
ParametersMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected