The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
XorshiftStarEngine.opCall
mir
random
engine
xorshift
XorshiftStarEngine
Advances the random sequence.
struct
XorshiftStarEngine
(StateUInt, uint nbits, int sa, int sb, int sc, StateUInt multiplier, OutputUInt = StateUInt)
@
safe
pure nothrow @
nogc
OutputUInt
opCall
()
(
)
if
(
isUnsigned
!
StateUInt
&&
isUnsigned
!
OutputUInt
&&
OutputUInt.sizeof
<=
StateUInt.sizeof
&&
!
(
sa
> 0 &&
sb
> 0
&&
sc
> 0
)
)
Meta
Source
See Implementation
mir
random
engine
xorshift
XorshiftStarEngine
constructors
this
functions
jump
opCall
manifest constants
isRandomEngine
variables
max
preferHighBits
Advances the random sequence.