Marcus Watts states: > > Another way to fix this, is if you're using %, make sure the random > value you plug into % is smaller than the largest multiple. For 189, > that would be 22724694*189 or 4294967296U. If the number you get > is larger than this, discard it and obtain another random number. > If you throw out the last 130 values, you've now got a fair generator. >
This is good advice. CHEERS -- Jack Bates Venice, CA, USA I play Texas Hold'Em at http://www.fulltiltpoker.com