OT large integer constants
OT large integer constants
- Subject: OT large integer constants
- From: email@hidden
- Date: Wed, 28 May 2008 10:24:41 +0200
hi everyone
as i am writing some 64-bit test code i want to check if
a certain result equals a certain number like:
if(mymicro1.microdata()==3048117485400){
b=0;
}
the constant '3048117485400' however is rejected by gcc with the
error mess
integer contstant too large for type, on the net i found that i
should write
3048117485400ULL
of
3048117485400LL
but this results in the error
use of C99 long long integer constant
what am i to do if i want to keep maximum portability?
--
met vriendelijke groeten
perry winkel
http://www.perry7.nl
http://www.myspace.com/dehufters
_______________________________________________
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