Re: long long
Re: long long
- Subject: Re: long long
- From: glenn andreas <email@hidden>
- Date: Mon, 17 Jan 2005 11:32:55 -0600
On Jan 17, 2005, at 11:25 AM, David Cittadini wrote:
Hi,
I am trying to get long long types to work. If I test long long by the following:
long long value = 64 - 1;
long long value1 = 1000000000;
long long value2 = 10000000000;
long long value3 = 0x1234567812345678;
The compiler warns that the last two definitions are "too large for a long type". That is not right, surely. Is there something special I have to do to get long longs to work?
Because the constants on the right hand side of the "=" are longs, not long longs (and so
10000000000 is too large for a long constant).
Try
10000000000LL
Glenn Andreas email@hidden
<http://www.gandreas.com/> oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >long long (From: David Cittadini <email@hidden>) |