Random Numbers ...
Mike McNally
m5 at bobkat.UUCP
Fri Feb 26 09:42:12 AEST 1988
Linear congruential random number generators are fine because of their
simplicity, but unless the entire seed is used the results are not very
random. Get ahold of a graphics system and do a simple pairs test by
plotting random x-y positions for a while. You'll see nifty patterns.
The BSD (?) random() functions are decidedly superior, though somewhat
slower.
--
Mike McNally, mercifully employed at Digital Lynx ---
Where Plano Road the Mighty Flood of Forest Lane doth meet,
And Garland fair, whose perfumed air flows soft about my feet...
uucp: {texsun,killer,infotel}!pollux!bobkat!m5 (214) 238-7474
More information about the Comp.lang.c
mailing list