Esempio n. 1
0
 public void NextSeed()
 {
     this.Seed = FastRandom.NextSeed(this.Seed);
 }
Esempio n. 2
0
 private int NextBits(int bits)
 {
     this.Seed = FastRandom.NextSeed(this.Seed);
     return((int)(this.Seed >> 48 - bits));
 }
Esempio n. 3
0
 public FastRandom WithModifier(ulong modifier)
 {
     return(new FastRandom(FastRandom.NextSeed(modifier) ^ this.Seed));
 }