constexpr int kR250TableSize
Words in the R250 generator's state table.
Definition r250.h:6
float RandomFloat()
Draw a float in [0, 1).
int g_nR250LagIndex
Index of the word NextR250() combines with the replaced one.
int g_nR250Index
Index of the word NextR250() replaces next.
int RandomInt(int nLow, int nHigh)
Draw an integer in a half-open range.
int NextR250()
Draw the next value.
int g_aR250Table[kR250TableSize]
State table of the R250 generator.
void SeedR250(int nSeed)
Fill the state table from a linear congruential sequence and reset both indices.