Re: 64bit math in Xcode
Re: 64bit math in Xcode
- Subject: Re: 64bit math in Xcode
- From: Marshall Clow <email@hidden>
- Date: Fri, 25 Nov 2005 10:36:40 -0800
This was legal in CW8.3, but I get a warning in Xcode 2.1
UInt64 startTime, deltaTime;
AbsoluteTime absDelta;
absDelta.hi = (deltaTime & 0xFFFFFFFF00000000) >> 32;
Can Xcode not handle a 64bit bitwise AND with bitshift?
Numeric constants are of type "int" by default.
Try "0xFFFFFFFF00000000ULL" instead.
--
-- Marshall
Marshall Clow Idio Software <mailto:email@hidden>
It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.
_______________________________________________
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