This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: `quad' printf format specifier ?
- To: Alex Buell <alex dot buell at tahallah dot demon dot co dot uk>
- Subject: Re: `quad' printf format specifier ?
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Mon, 08 Feb 1999 13:20:44 -0700
- cc: "Guillermo A. Loyola" <gmo at epigram dot com>, egcs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
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