View Single Post
  #215  
Old March 20th, 2003, 07:38 PM
Jack Simth's Avatar

Jack Simth Jack Simth is offline
Major General
 
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
Jack Simth is on a distinguished road
Default Re: [OT] Plato\'s Pub and Philosophical Society

Quote:
Originally posted by Suicide Junkie:
If an AI compares random numbers to decide whether to go left or right, is that free will? It will be chaotic and unpredictable...
As a computer programming student, I can tell you it is extremely difficult to get a computer to produce truly random numbers. It is possible, mind you - it takes hardware that produces truly random input, such as a noisy diode or a human user; sometimes a clever programmer will use the processor itself as a truly random number generator by using the clock drift - however, those are very rarely used. What is normally produced is pseudorandom numbers. These numbers come out of simple equations, where the routine goes something like this (I may have my suntax a bit off):

double Random(Double *seed){
double r = 1.73658965335795;
double d = 4.56891247479574;
*seed = r * (*seed) - d * (*seed) * (*seed)
return *seed;
}

While not truly random, these types of routines produce numbers that are scarecly predictable.
__________________
Of course, by the time I finish this post, it will already be obsolete. C'est la vie.
Reply With Quote