MCPcopy Create free account
hub / github.com/chrxh/alien / getLargeRandomInt

Method getLargeRandomInt

source/Base/NumberGenerator.cpp:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36uint32_t NumberGenerator::getLargeRandomInt(uint32_t range)
37{
38 return getNumberFromArray() % (range + 1);
39}
40
41double NumberGenerator::getRandomReal(double min, double max)
42{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected