Mail Archives: djgpp/1997/10/25/16:02:31
amit wrote:
> one comment : using only hundreds of seconds as seed in many cases might
> not be good enough - if you run your program more than 100 times you'r
> bound
> to have (at least) two identical runs.
I suggest you get "Numerical Recipies in C" from your library (or buy it, its
worth having if you do any numerical computing). There is a discussion of
various forms of RNGs, standards for judging, creating one w/ a long period
(2^32, under djgpp) and various forms.
--
Charles Krug, Jr.
Application Engineer
Pentek Corp
1 Park Way
Upper Saddle River, NJ 07458
- Raw text -