| Re: Big Endian, Little Endian. |
|
 |
|
 |
|
 |
|
 |
Group: comp.lang.c++.moderated · Group Profile
Author: Andy ChampAndy Champ Date: May 13, 2008 19:10
> No endianness: I don't have an example, but if all primitive datatypes
> have the same size there will be no endianness. In C99 that would mean
> that CHAR_BIT == 64 or more, so that the minimum size long long fits
> into a single character.
Correct me if I'm wrong, but doesn't the standard just say sizeof(int)
>= sizeof char; sizeof(long) >= sizeof(int); etc - so there's no
guarantee that a long long is any particular size...
Andy
|