Re: question about random generator
- From: Eric Sosman <esosman@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 25 Jul 2005 21:39:47 -0400
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.)
-- Eric Sosman esosman@xxxxxxxxxxxxxxxxxxx
.
- Follow-Ups:
- Re: question about random generator
- From: pete
- Re: question about random generator
- References:
- question about random generator
- From: Marc Dansereau
- Re: question about random generator
- From: Eric Sosman
- Re: question about random generator
- From: Peter Nilsson
- question about random generator
- Prev by Date: Re: question about random generator
- Next by Date: Where to get a compatibility list of C and C++?
- Previous by thread: Re: question about random generator
- Next by thread: Re: question about random generator
- Index(es):