This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: `quad' printf format specifier ?




  In message <Pine.LNX.4.05.9902081436140.307-100000@lo-pc3035a.hitc.com>you wr
ite:
  > OK, so an int is always the "native" machine's natural bit-length? ie. on
  > IA32, it's 32 bits, and on some 64bit architectures it's 64 bits? 
No, you can't assume that.  You can assume:

sizeof (long long) >=  sizeof (long) >= sizeof (int) >= sizeof (short) >= sizeof (char)


jeff


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