The OpenD Programming Language

rxs_m_xs_forward

RXS M XS -- random xorshift, mcg multiply, fixed xorshift

The most statistically powerful generator, but all those steps make it slower than some of the others. We give it the rottenest jobs.

Because it's usually used in contexts where the state type and the result type are the same, it is a permutation and is thus invertible. We thus provide a function to invert it. This function is used to for the "inside out" generator used by the extended generator.

@safe nothrow @nogc
O
rxs_m_xs_forward
(
O
Uint
)
(
Uint state
)
if (
is(O == Uint)
)

Meta