This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: a few questions about discrete rng
- From: Philip Kendall <pak21 at srcf dot ucam dot org>
- To: gsl-discuss at sources dot redhat dot com
- Date: Wed, 10 Jul 2002 21:21:48 +0100
- Subject: Re: a few questions about discrete rng
- References: <200207101933.g6AJXNn24221@post.its.mcw.edu>
On Wed, Jul 10, 2002 at 02:38:55PM -0500, Rodney Sparapani wrote:
>
> I was just reading the design part of the manual and it discusses size_t.
> However, I found it to be pretty vague. Maybe you could elaborate a bit by
> adding your statement about it being the only portable way to index arrays
> across 32-bit, 64-bit, etc.
On a 64-bit platform, arrays can have more than 2^32 entries, but an
unsigned int is often still only 32 bits long (this is certainly the
case for gcc/Alpha, Compaq cc/Alpha and Sun cc/Sparc).
Phil
--
Philip Kendall <pak21@srcf.ucam.org>
http://www.srcf.ucam.org/~pak21/