View Single Post
Old Mar 1st, 2008, 11:35 PM   #10
dimlyBright
Newbie
 
dimlyBright's Avatar
 
Join Date: Mar 2008
Posts: 10
Rep Power: 0 dimlyBright is on a distinguished road
Re: Patterned returns with Math.random()

Random rock = new Random();
rock.setSeed(System.nanoTime());
double test = rock.nextDouble();

Yes, I have been playing with setSeed but nothing seems to change the end result. I now believe I have made the mistake in my loops and it has nothing to do with the RNG. It is the only logical conclusion after having tried all the different RNG techniques.
dimlyBright is offline   Reply With Quote