mir-random ~master (2021-09-01T06:24:04Z)
Dub
Repo
LinearCongruentialEngine.max
mir
random
engine
linear_congruential
LinearCongruentialEngine
Highest generated value (
modulus - 1 - bool(c == 0)
).
struct
LinearCongruentialEngine
(Uint, Uint a, Uint c, Uint m)
enum
Uint
max
;
Meta
Source
See Implementation
mir
random
engine
linear_congruential
LinearCongruentialEngine
constructors
this
functions
opCall
manifest constants
isRandomEngine
postblits
this(this)
variables
increment
max
modulus
multiplier
preferHighBits
Highest generated value (modulus - 1 - bool(c == 0)).