• 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
double precision in x-code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

double precision in x-code


  • Subject: double precision in x-code
  • From: Juan Vesa <email@hidden>
  • Date: Sun, 26 Sep 2010 18:57:59 +1000

hello,
when i inspect the values of double variables in the x-code debugger i note they are not precise, for example i might set a variable double tmp = 0.3, and in the debugegr inspector i will see the value 0.29999999999999993. i'm afraid this error may be accumulating and not making some calculations as precise as possible. is this standard? is the actual value in memory 0.3 or is the debugger window just showing something wonky?
any advice would be greatly appreciated,
cheers,
_______________________________________________
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: double precision in x-code
      • From: email@hidden (Christian Demmer)
    • Re: double precision in x-code
      • From: Lennart Thelander <email@hidden>
  • Prev by Date: A bug in Xcode regarding English.lproj ?
  • Next by Date: inspecting variable size arrays in debugger
  • Previous by thread: Re: A bug in Xcode regarding English.lproj ?
  • Next by thread: Re: double precision in x-code
  • Index(es):
    • Date
    • Thread