MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / getRandom32

Function getRandom32

libraries/randomHelpers/randomHelpers.cpp:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53
54uint32_t getRandom32()
55{
56 // return random(0xFFFFFFFF); // use the built in
57 return Marsaglia();
58}
59
60
61bool getRandom1()

Callers 11

getRandom1Function · 0.85
getRandom4Function · 0.85
getRandom5Function · 0.85
getRandom6Function · 0.85
throwDiceFunction · 0.85
getRandom8Function · 0.85
getRandom16Function · 0.85
getRandom24Function · 0.85
getRandom64Function · 0.85
getRandomBitsFunction · 0.85
unittestFunction · 0.85

Calls 1

MarsagliaFunction · 0.85

Tested by 1

unittestFunction · 0.68