Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
54
uint32_t getRandom32()
55
{
56
// return random(0xFFFFFFFF); // use the built in
57
return Marsaglia();
58
}
59
60
61
bool getRandom1()
Callers
11
getRandom1
Function · 0.85
getRandom4
Function · 0.85
getRandom5
Function · 0.85
getRandom6
Function · 0.85
throwDice
Function · 0.85
getRandom8
Function · 0.85
getRandom16
Function · 0.85
getRandom24
Function · 0.85
getRandom64
Function · 0.85
getRandomBits
Function · 0.85
unittest
Function · 0.85
Calls
1
Marsaglia
Function · 0.85
Tested by
1
unittest
Function · 0.68