× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I think I have a far clearer understanding now.....

One last thing to think about is the reason you want random numbers. I don't recall seeing the business case for the random number, but if it's for something like selecting truck drivers for 'random' drug testing you ought to be advised that CEERAN0 doesn't necessarily have as long a sequence as we might like.

CEERAN0 generates it's numbers via an algorithm, which makes it pseudo-random. That is, it appears to be random. But if you track the numbers long enough, you'll find that the sequence starts all over again from the beginning. How long that takes is the sequence length.

Read this IBM page (Thanks Bruce Vining!) for an alternative API that has a longer sequence than CEERAN0. http://www-912.ibm.com/s_dir/slkbase.NSF/0/00599805bfa9117f86256c48005989f6?OpenDocument

I had to do this very thing in Ye Olde Days. I used the October 1988 issue of Communications of the ACM, article on random numbers authored by Stephen K Park and Keith W Miller as the basis of my routine (which held up in court, as it turned out.)

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.