private static uint Round(uint seed, uint input) { seed += input * PRIME32_2; seed = MathR.RotateLeft(seed, 13); seed += PRIME32_1; return(seed); }
public void RotateLeftULong(ulong input, int n, ulong result) => Assert.AreEqual(result, MathR.RotateLeft(input, n));
public void RotateLeftUInt(uint input, int n, uint result) => Assert.AreEqual(result, MathR.RotateLeft(input, n));