Go to the documentation of this file.
18 #ifndef __LIB_LIBSTD_RANDOMIZER_H
19 #define __LIB_LIBSTD_RANDOMIZER_H
unsigned long ulong
Unsigned long number.
void seed(const ulong value)
Set a value as the current state.
static const ulong Modulus
Used in modulus operation of calculated value.
ulong next()
Get next randomized value.
Produces random integers using the Linear congruential generator algorithm.
static const ulong Multiplier
Used to multiply calculated value.
static const ulong Constant
Added to calculated value.
static ulong m_value
Current randomizer value.