Bruce Momjian <[EMAIL PROTECTED]> writes:
>> Bruce Momjian <[EMAIL PROTECTED]> writes:
> Can we use (long long) rather than LL?
>>
>> No.
> Can I ask how 0LL is different from (long long)0?
The former is a long-long-int constant ab initio. The latter is an int
constant that is subsequently casted to long long. If you write
(long long) 12345678901234567890
I'd expect a compiler that warns about larger-than-int constants to
produce a warning anyway, since the warning is only looking at the
constant and not its context of use. (If the warning had that much
intelligence, it'd not be complaining now.)
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly