lkml.org 
[lkml]   [2004]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 0xdeadbeef vs 0xdeadbeefL
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?

--
Tomas Szepe <szepe@pinerecords.com>
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2011 Jasper Spaans