RE: [sv-bc] enums in packed arrays

From: Rich, Dave <Dave_Rich_at_.....>
Date: Tue Apr 11 2006 - 22:07:44 PDT
I suppose it depends on the application, but I think it's mostly the
relative sizes that matter to people for the integer types (I'll leave
byte and char out of this, but there are systems that don't know if
their chars are 8 or 16 bits) Good portable code in C/C++ does not know
what the length of an int is.

Dave


> -----Original Message-----
> From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of
Brad
> Pierce
> Sent: Tuesday, April 11, 2006 9:30 PM
> To: sv-bc@eda.org
> Subject: Re: [sv-bc] enums in packed arrays
> 
> 
> >We're trying to get people to think of these predefined types
> >not in terms individual bits, but as a more abstract value.
> 
> But isn't the distinction between a longint, int, shortint, and byte
> their numbers of individual bits?
> 
> -- Brad
> 
Received on Tue Apr 11 22:08:00 2006

This archive was generated by hypermail 2.1.8 : Tue Apr 11 2006 - 22:08:06 PDT