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

Method getRandomFloat

source/Base/NumberGenerator.cpp:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46float NumberGenerator::getRandomFloat(float min, float max)
47{
48 return toFloat(getRandomReal(min, max));
49}
50
51double NumberGenerator::getRandomReal()
52{

Callers 2

TEST_FFunction · 0.80
NeuronSelectionMethod · 0.80

Calls 1

toFloatFunction · 0.85

Tested by 1

TEST_FFunction · 0.64