• 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
long double data type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

long double data type


  • Subject: long double data type
  • From: Luigi Castelli <email@hidden>
  • Date: Mon, 14 Jun 2010 10:58:31 -0700 (PDT)

Hi there,

I am on a MacBook Pro Intel Core 2 Duo, running Snow Leopard 10.6.2.

I am working on a DSP audio mastering application that needs to perform mathematical operation at very high resolution.

To accomplish this task I am thinking about performing all my calculations in quad precision, using the long double data type.

After a little research and experimentation, I found that in Xcode 3.2.1 this data type is 128 bits, however I also came across other statements that indicate that only the first 80 bits are significant and that this data type might not be natively supported. Furthermore I read other claims that state that this type might be equivalent to a 64 bit double data type depending on processor architecture.

Since at this point I am fairly confused, could someone shed some light on these and maybe other issues associated with the long double data type relative to the above platform and compiler?

Is it a viable choice for a DSP audio application or will I regret it in the long run?

Any advice or suggestion is highly welcome.

Thanks.

- Luigi Castelli



 _______________________________________________
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: long double data type
      • From: Jens Alfke <email@hidden>
    • Re: long double data type
      • From: Hamish Allan <email@hidden>
  • Prev by Date: Re: refactoring issue
  • Next by Date: Re: duplicate symbol from boost
  • Previous by thread: Re: refactoring issue
  • Next by thread: Re: long double data type
  • Index(es):
    • Date
    • Thread