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

Re: strange behavior, out of range?


  • Subject: Re: strange behavior, out of range?
  • From: "Clark S. Cox III" <email@hidden>
  • Date: Mon, 10 May 2010 15:17:23 -0700

What is it that you think is strange about that result?

Sent from my iPad

On May 10, 2010, at 14:12, Ariel Feinerman <email@hidden> wrote:

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
References: 
 >strange behavior, out of range? (From: Ariel Feinerman <email@hidden>)

  • Prev by Date: Re: strange behavior, out of range?
  • Next by Date: Re: strange behavior, out of range?
  • Previous by thread: Re: strange behavior, out of range?
  • Next by thread: Re: strange behavior, out of range?
  • Index(es):
    • Date
    • Thread