Im looking for a decent random number generator. Im looking to make a large
number of random numbers (100 or so, if not more) in a short period of time
(as fast as possible).
the function i was using to get random numbers was
Random rn = new Random(System.c urrentTimeMilli s());
but it seems that the system doesn't update the milliseconds often enough to
cause a true randomaziation (i ran just the System.currentT imeMillis() in a
for loop 200 times and only got 3 unique results)
any suggestions on how to get a quantity of real random numbers?
Thanks
Nick
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
number of random numbers (100 or so, if not more) in a short period of time
(as fast as possible).
the function i was using to get random numbers was
Random rn = new Random(System.c urrentTimeMilli s());
but it seems that the system doesn't update the milliseconds often enough to
cause a true randomaziation (i ran just the System.currentT imeMillis() in a
for loop 200 times and only got 3 unique results)
any suggestions on how to get a quantity of real random numbers?
Thanks
Nick
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Comment