The OpenD Programming Language

XorshiftStarEngine.jump

This is the jump function for the standard 1024-bit generator. It is equivalent to 2 ^^ 512 invocations of opCall(); it can be used to generate 2 ^^ 512 non-overlapping subsequences for parallel computations. This function will only be defined if the shifts are the same as for Xorshift1024StarPhi.

struct XorshiftStarEngine(StateUInt, uint nbits, int sa, int sb, int sc, StateUInt multiplier, OutputUInt = StateUInt)
@safe pure nothrow @nogc
static if(nbits == 1024 && N == 16 && sa == 31 && sb == -11 && sc == -30)
void
jump
()
()
if (
nbits == 1024 &&
N == 16
&&
sa == 31
&&
sb == -11
&&
sc == -30
)
if (
isUnsigned!StateUInt &&
isUnsigned!OutputUInt
&&
OutputUInt.sizeof <= StateUInt.sizeof
&&
!(
sa > 0 &&
sb > 0
&&
sc > 0
)
)

Meta