|
LLVM
3.7.0
|
A random number generator. More...
#include <RandomNumberGenerator.h>
Public Member Functions | |
| uint_fast64_t | operator() () |
| Returns a random number in the range [0, Max). More... | |
Friends | |
| class | Module |
A random number generator.
Instances of this class should not be shared across threads. The seed should be set by passing the -rng-seed=<uint64> option. Use Module::createRNG to create a new RNG instance for use with that module.
Definition at line 32 of file RandomNumberGenerator.h.
| uint_fast64_t RandomNumberGenerator::operator() | ( | ) |
Returns a random number in the range [0, Max).
Definition at line 55 of file RandomNumberGenerator.cpp.
|
friend |
Definition at line 54 of file RandomNumberGenerator.h.
1.8.6