This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: a few questions about discrete rng


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]