• 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: 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


References: 
 >64bit math in Xcode (From: Trygve Inda <email@hidden>)

  • Prev by Date: 64bit math in Xcode
  • Next by Date: Re: /Library/Caches/com.apple.Xcode.<UID> is huge!
  • Previous by thread: 64bit math in Xcode
  • Next by thread: re: 64bit math in Xcode
  • Index(es):
    • Date
    • Thread