On Tue, 23 Jul 2002, Jinx wrote: >> Hi, Jinx! > >Hi Mike! > >> You should prove that rejecting some values, you don't >> hurt randomness. >> Why do you reject them at all? > >Take the example of a table that has 1000 entries. I'd be looking >for a number between 000 and 3e7. Therefore the first random byte >(address high) is 0,1,2 or 3 and the second random number (address >low) is 00-FF if address high = 0,1, or 2 and 00-e7 if address high = >03. The third random number is the bit position, 00 to 0d > >Rejection is done simply on the basis of the number being too big, >but every number accepted is random *DO* get that ent.exe program please. It will tell you whether you're reasonably random or not. It's on fourmilab.ch. Use google ? Peter -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body