Re: long long issue
Re: long long issue
- Subject: Re: long long issue
- From: Lawrence Gold <email@hidden>
- Date: Fri, 19 Aug 2005 18:50:05 -0600
David Fang wrote:
Hi,
Append "LL" to your constant:
0xFF00FF00FF00FF00LL
What must I do to be able to assign 0xff00ff00ff00ff00 to value1?
Or better (?) still: Append ULL to it, since it's unsigned. And if you
need to support other compilers that don't use LL and ULL, you can use
macros (as found in MAME):
#ifdef __GNUC__
#define U64(val) val##ULL
#define S64(val) val##LL
#else
#define U64(val) val
#define S64(val) val
#endif
and then use it like so:
U64(0xFF00FF00FF00FF00)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden