From: allbery@NCoast.ORG (Brandon S. Allbery KB8JRR)
Newsgroups: alt.sources
Subject: Re: VI SOLVES MAZE (update)
Message-ID: <1991Jan21.014749.24589@NCoast.ORG>
Date: 21 Jan 91 01:47:49 GMT

As quoted from <1991Jan15.152101.2935@mdivax1.uucp> by :
+---------------
| also, let's make the change between 27 and 11 (or whatever) automatic.
| 
|     |6<<8*sizeof(int)-5<rand()||!C&!Z?J[M[E]=M[A]]=E,J[M[A]=A-Z]=A,"_.":" |"];}
+---------------

It's not conditional on sizeof (int), it's conditional on the number of bits
returned by rand().  On my SVR3.1 at work, we have 32-bit ints, but rand()
only returns 15 random bits.

++Brandon
-- 
Me: Brandon S. Allbery			    VHF/UHF: KB8JRR on 220, 2m, 440
Internet: allbery@NCoast.ORG		    Packet: KB8JRR @ WA8BXN
America OnLine: KB8JRR			    AMPR: KB8JRR.AmPR.ORG [44.70.4.88]
uunet!usenet.ins.cwru.edu!ncoast!allbery    Delphi: ALLBERY
