pub fn xor_shift(a: u8) -> u8
Expand description
XOR Shift for stability in number generation.
It implements one round of XORShift PRNG algorithm for statistical stability.
a
- a u8, the number whose bits will be shifted.
a u8
- the bit-shifted number.