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: Reading and writing GSL random number generators


On Wed, May 28, 2003 at 05:24:48PM -0400, Martin Jansche wrote:
> > Is and will char always be 8 bit?

> Doesn't look like it.  Quoting the C99 standard:  "An object declared
> as type char is large enough to store any member of the basic
> execution character set." (6.2.5)  And: "The representation of each
> member of the [...] execution basic character [set] shall fit in a
> byte." (5.2.1)  So char would have to be at least 8 bits wide, but
> could be wider.

Actually, those statements only say that the representation of a
character must fit in both a char and a byte.  It doesn't specify
the relationship between a char and a byte.  Though I'm sure
somewhere it's defined that a char must be at least a byte.

-- 
Jeff Spirko   spirko@lehigh.edu   spirko@yahoo.com   WD3V   |=>

The study of non-linear physics is like the study of non-elephant biology.

All theoretical chemistry is really physics;
and all theoretical chemists know it. -- Richard P. Feynman 


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