🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.d
Article #5158

Re: travestyyyyyyyy

#5158
From: Peter S. Shenkin
Date: Fri, 05 Jan 1990 17:19
15 lines
1314 bytes
In article <815@stealth.acf.nyu.edu> brnstnd@stealth.acf.nyu.edu (Dan Bernstein) writes:
>
>Yes, Peter, you can replace srandom() and random() by srand() and
>rand(). random() and srandom() are two of those annoying routines that
>work much better than their predecessors but aren't as widely available;

Careful, though;  with rand() and srand(), only the 16 high-order bits
have any semblence of randomness.  For example, on a 32 bit machine,
rand() returns strictly alternating even and odd numbers!  (At least this
was true on a VAX....)

	-P.  (not the Peter referred to above!)
************************f*u*cn*rd*ths*u*cn*gt*a*gd*jb**************************
Peter S. Shenkin, Department of Chemistry, Barnard College, New York, NY  10027
(212)854-1418  shenkin@cunixc.cc.columbia.edu(Internet)  shenkin@cunixc(Bitnet)
Technical Details
Message-ID: <2597@cunixc.cc.columbia.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!rutgers!columbia!cunixc!shenkin
References: <815@stealth.acf.nyu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!rutgers!columbia!cunixc!shenkin
From: shenkin@cunixc.cc.columbia.edu (Peter S. Shenkin)
Newsgroups: comp.sources.d,comp.sources.games.bugs
Subject: Re: travestyyyyyyyy
Message-ID: <2597@cunixc.cc.columbia.edu>
Date: 5 Jan 90 17:19:09 GMT
References: <815@stealth.acf.nyu.edu>
Reply-To: shenkin@cunixc.cc.columbia.edu (Peter S. Shenkin)
Distribution: usa
Organization: Columbia University
Lines: 15