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:
00386819
Views:
20
>>>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.

Knuth - there's a name I haven't heard since college. I used to offer floppy sacrafices to him when I was a C programmer hopeing for some of his guidance. Then I discoverd foxpro and all my troubles went away. (I don't even think I can write "hello world" in C anymore let alone assembly.)

Actually I went to college about 3 miles from Stanford and I always wanted to go see him but I never did. I started to read one of his books once but it was more than I really wanted to know.
Rip Ryness
International Falls, MN
Previous
Reply
Map
View

Click here to load this message in the networking platform