Re: Big Endian, Little Endian.
  Home FAQ Contact Sign in
comp.lang.c++.moderated only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: Big Endian, Little Endian.         

Group: comp.lang.c++.moderated · Group Profile
Author: Andy Champ
Date: May 13, 2008 19:10

clemd@acm.org wrote:
> 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

--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
no comments
diggit! del.icio.us! reddit!

RELATED THREADS
SubjectArticles qty Group
Gulliver's Travels: Latinate terms for 'Big-endians' and 'Little-endians'?alt.language.latin ·