Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cs.utexas.edu!wuarchive!sdd.hp.com!hplabs!hpl-opus!hpnmdla!darrylo From: darrylo@hpnmdla.HP.COM (Darryl Okahata) Newsgroups: comp.lang.perl Subject: Re: random numbers? Message-ID: <8310022@hpnmdla.HP.COM> Date: 14 Feb 91 03:11:36 GMT References: <16698@venera.isi.edu> Organization: HP Network Measurements Div, Santa Rosa, CA Lines: 18 In comp.lang.perl, tkacik@kyzyl.mi.org (Tom Tkacik) writes: > Would it be difficult to put into the Config script, a check to see if > either random(BSD) or lrand48(SYSV) exist, and to allow Perl to use them? > Both of these are supposed to be much better random number > generators than rand(). A better solution would be to grab the BSD random()/srandom() routines from nethack, and use those. That way, you don't have to worry about random number generator differences between various machines. -- Darryl Okahata UUCP: {hplabs!, hpcea!, hpfcla!} hpnmd!darrylo Internet: darrylo%hpnmd@hp-sde.sde.hp.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion or policy of Hewlett-Packard or of the little green men that have been following him all day.