• 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: 64 bit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 64 bit


  • Subject: Re: 64 bit
  • From: Greg Guerin <email@hidden>
  • Date: Thu, 13 Dec 2007 11:14:32 -0700

perry7 wrote:

>i need to multiply, divide, add and stuff on large (signed) integers
>i was thinking about using 64 bit numbers

What are you doing with the numbers?  Do you really need 64 bits of
precision?  The double type carries at least 53 bits of precision, so it
might be good enough, depending on what you're doing.  On today's hardware,
doubles are reasonably fast, too.


>"ISO c++ does not support long long"
>
>seems like i have to enable/disbable some stuff but what?

I think it's the C Language Dialect build setting.  Enter "dialect" in the
Build Settings search field.  Choose a dialect that has long long.

  -- GG


 _______________________________________________
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

  • Follow-Ups:
    • Re: 64 bit
      • From: email@hidden
  • Prev by Date: Re: A problem internal to GDB detected
  • Next by Date: re:Problem with CFBundleGetFunctionPointerForName and 10.5 SDK
  • Previous by thread: Re: 64 bit
  • Next by thread: Re: 64 bit
  • Index(es):
    • Date
    • Thread