• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
re: 64bit math in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: 64bit math in Xcode


  • Subject: re: 64bit math in Xcode
  • From: George Warner <email@hidden>
  • Date: Fri, 25 Nov 2005 12:19:52 -0800
  • Thread-topic: 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:

This email sent to email@hidden

  • Prev by Date: Re: XCode 2.1: Custom projects
  • Next by Date: Re: /Library/Caches/com.apple.Xcode.<UID> is huge!
  • Previous by thread: Re: 64bit math in Xcode
  • Next by thread: Using newer version of gcc for shared libraries
  • Index(es):
    • Date
    • Thread