<tt>xoshiro
Loading...
Searching...
No Matches
xso::plus_plus< R, w0, w1 >

The plus_plus scrambler is passed a state array an returns rotl(state[w0] + state[w1], R) + state[w0]. More...

#include <xoshiro.h>

Detailed Description

template<auto R, std::size_t w0, std::size_t w1>
struct xso::plus_plus< R, w0, w1 >

The plus_plus scrambler is passed a state array an returns rotl(state[w0] + state[w1], R) + state[w0].

Template Parameters
w0The index of the first word in the state array to use.
w1The index of the second word in the state array to use.
RA rotation amount.