Katrina Fox

78%
Flag icon
When searching around for a seed to generate random numbers, Netscape would use a combination of the current time and its process identifiers. On most operating systems, whenever a program is running it is given a process ID number so your computer can keep track of it. Netscape would use the process ID of the current session as well as the process ID of the parent program that opened Netscape, combined with the current time (seconds and microseconds) to seed its pseudorandom-number generator.
Humble Pi: When Math Goes Wrong in the Real World
Rate this book
Clear rating
Open Preview