Example #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);
        }
Example #2
0
 public void Remix()
 {
     this.Remix(CellRandom.TruelyRandomSeed());
 }
Example #3
0
 public CellRandom()
     : this(CellRandom.TruelyRandomSeed())
 {
 }