• 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
strange behavior, out of range?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strange behavior, out of range?


  • Subject: strange behavior, out of range?
  • From: Ariel Feinerman <email@hidden>
  • Date: Tue, 11 May 2010 00:12:50 +0300

Hi,

There is float vars, I check them values with gdb:

p_object->aabb[6].z = 7.00061798;
p_object->aabb[0].z = - 7.00061846;

p_object->bsphere_center.z = (p_object->aabb[6].z + p_object->aabb[0].z)/2.0;


Xcode 3.2.1, llvm-gcc 4.2 

What is this? I cannot understand


7.00061798 - 7.00061846 = -2.38418579e-07


--
best regards
Ariel
 _______________________________________________
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: strange behavior, out of range?
      • From: Fritz Anderson <email@hidden>
    • Re: strange behavior, out of range?
      • From: "Clark S. Cox III" <email@hidden>
    • Re: strange behavior, out of range?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Interface Builder Plugin, IBInspector: Getting Auto Complete for Image Names
  • Next by Date: Re: strange behavior, out of range?
  • Previous by thread: Interface Builder Plugin, IBInspector: Getting Auto Complete for Image Names
  • Next by thread: Re: strange behavior, out of range?
  • Index(es):
    • Date
    • Thread