Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reliability of RAND() function
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00386726
Message ID:
00386811
Views:
14
>>Is anyone aware of reliability checks of FoxPro's RAND() function to determine whether it adequately
>>simulates random numbers on the interval (0,1)? Thanks.
>
>I could be wrong but from my college days I believe that there was no way to generate truly random numbers with just software. I remember reading a couple of years ago that Intel was going to provide some functionality in their processors to read the tempature variations of the processor or something like that to generate truly random numbers. Basically you need some physical process to generate truly random numbers. There is acutally a book of just random numbers that were generated by reading atomic decay of some material or something like that.
>

If you want to roll yer own, there's a lot of discussion of pseudorandom numbers in Knuth's "SemiNumerical Algorithms", but it is not Fox code (in fact, it's all built around a theoretical assembly language called MIX). I don't know of any Fox-specific books, but general references on cryptology and number theory are likely sources of algorithms that can be used to generate pseudorandom sequences.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform