Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!sm.unisys.com!aero!elroy!cit-vax!oxy!bagpiper From: bagpiper@oxy.edu (Michael Paul Hunter) Newsgroups: comp.lang.c Subject: Re: How do I get random #s? Message-ID: <18000@tiger.oxy.edu> Date: 14 Feb 89 17:45:11 GMT References: <19415@dhw68k.cts.com> <225800121@uxe.cso.uiuc.edu> Organization: Occidental College, Los Angeles, CA 90041 Lines: 17 In article <225800121@uxe.cso.uiuc.edu> mcdonald@uxe.cso.uiuc.edu writes: > > >>I think it is. If you really need extremely good random deviates >>then you have a lot of research and hard work to do. > >I finally got tired of non-random random numbers, so >I hooked an ADC converter and a hot resistor to my computer and xor'ed the >results from it with rand(). This gives me about 10000 really random numbers >a second. It is not trivial to get REALLLY random numbers out of such >a setup, but it can be done. > Unfortunately it is hard to reproduce sequences of numbers using this method, which makes modeling a bit hairy!! Mike