Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: 0xdeadbeef vs 0xdeadbeefL | Date | Mon, 12 Jul 2004 17:50:53 +0000 (UTC) |
| |
Followup to: <20040707073059.GA20079@louise.pinerecords.com> By author: Tomas Szepe <szepe@pinerecords.com> In newsgroup: linux.dev.kernel > > On Jul-06 2004, Tue, 19:05 -0700 > Ray Lee <ray-lk@madrabbit.org> wrote: > > > According to K&R, 2nd ed, section A2.5.1 (Integer Constants): > > > > The type of an integer depends on its form, value and suffix. > > [...] If it is unsuffixed octal or hexadecimal, it has the first > > possible of these types ["in which its value can be represented" > > -- from omitted]: int, unsigned int, long int, unsigned long > > int. > > Is it safe to assume that C99 compilers append "..., long long int, > unsigned long long int" to the list? >
Yes.
-hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |