Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!ll-xn!mit-eddie!killer!pollux!bobkat!m5 From: m5@bobkat.UUCP (Mike McNally ) Newsgroups: comp.lang.c Subject: Re: Random Numbers ... Message-ID: <3472@bobkat.UUCP> Date: 25 Feb 88 23:42:12 GMT References: <11972@brl-adm.ARPA> <7097@sol.ARPA> Reply-To: m5@bobkat.UUCP (Mike McNally (Man from Mars)) Organization: Digital Lynx, Inc; Dallas, TX Lines: 12 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