Beispiel #1
0
        // ----------------------------------------------------------------- //
        public long NextPrimeBase()
        {
            long x = this.BaseLong();

            if (x < 0)
            {
                x = -x;
            }

            while (!CellRandom.IsPrime(x))
            {
                x = this.BaseLong();
                if (x < 0)
                {
                    x = -x;
                }
            }

            return(x);
        }
Beispiel #2
0
 public void Remix()
 {
     this.Remix(CellRandom.TruelyRandomSeed());
 }
Beispiel #3
0
 public CellRandom()
     : this(CellRandom.TruelyRandomSeed())
 {
 }