Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: 64bit math in Xcode



On Fri, 25 Nov 2005 18:31:22 +0000, Trygve Inda <email@hidden>
wrote:

> This was legal in CW8.3, but I get a warning in Xcode 2.1

What was the warning?

> UInt64          startTime, deltaTime;
> AbsoluteTime    absDelta;
>
> absDelta.hi = (deltaTime & 0xFFFFFFFF00000000) >> 32;
>
> Can Xcode not handle a 64bit bitwise AND with bitshift?

absDelta.hi = (deltaTime >> 32) & 0xFFFFFFFF;

-- 
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.