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

Function getRandom64

libraries/randomHelpers/randomHelpers.cpp:172–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170
171
172uint64_t getRandom64()
173{
174 uint64_t rv = getRandom32();
175 rv <<= 32;
176 rv |= getRandom32();
177 return rv;
178}
179
180/*
181// works well for 1..16; but above it is worse

Callers

nothing calls this directly

Calls 1

getRandom32Function · 0.85

Tested by

no test coverage detected