The OpenD Programming Language

XorshiftStarEngine.this

Constructs a XorshiftStarEngine generator seeded with x0.

struct XorshiftStarEngine(StateUInt, uint nbits, int sa, int sb, int sc, StateUInt multiplier, OutputUInt = StateUInt)
@safe pure nothrow @nogc
this
()
(
StateUInt x0
)
if (
isUnsigned!StateUInt &&
isUnsigned!OutputUInt
&&
OutputUInt.sizeof <= StateUInt.sizeof
&&
!(
sa > 0 &&
sb > 0
&&
sc > 0
)
)

Meta