Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!usc!apple!lins From: lins@Apple.COM (Chuck Lins) Newsgroups: comp.sys.mac.programmer Subject: Re: Is Random() random? Message-ID: <47094@apple.Apple.COM> Date: 4 Dec 90 21:57:05 GMT References: <31359.275BAB9A@stjhmc.fidonet.org> Organization: Apple Computer Inc., Cupertino, CA Lines: 19 In article <31359.275BAB9A@stjhmc.fidonet.org> Chris.Gehlker@p12.f56.n114.z1.fidonet.org (Chris Gehlker) writes: >> how random is the Toolbox routine Random()? IM-I says it returns >> an integer in the range -32767 (not -32768) to 32,767 before >> cycling. does this mean it will hit every number in that range >> once before repeating? and why the seemingly strange range > >It definately won't hit every number once before repeating. And if it did hit every number in the range before repeating it wouldn't be random. -- Chuck Lins | "Is this the kind of work you'd like to do?" Apple Computer, Inc. | -- Front 242 20525 Mariani Avenue | Internet: lins@apple.com Mail Stop 37-BD | AppleLink: LINS@applelink.apple.com Cupertino, CA 95014 | "Self-proclaimed Object Oberon Evangelist" The intersection of Apple's ideas and my ideas yields the empty set.