The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
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
variables
increment
max
modulus
multiplier
preferHighBits
Highest generated value (modulus - 1 - bool(c == 0)).