Re: question about random generator



Eric Sosman wrote:
> ...
> The rand() function generates uniformly distributed
> integers in the range 0 <= rand() <= RAND_MAX <= 32767.

ITYM: 0 <= rand() <= RAND_MAX, where RAND_MAX >= 32767

--
Peter

.



Relevant Pages