Re: question about random generator



Eric Sosman wrote:
>
> Peter Nilsson wrote:
>
> > 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
>
> Indeed, yes, that is exactly and precisely what I,
> of course, meant. (Blbbbpppfft -- I *hate* when I do that.

Does "pseudo-random" mean the same thing as "uniformly distributed" ?

--
pete
.



Relevant Pages