On Tue, 2010-11-30 at 14:03 +0000, James Turner wrote:
> On 30 Nov 2010, at 13:14, Flightgear-commitlogs wrote:
> >    PAtch by Andreas Gaeb to eliminate NaN's in the location code
> 
> Erik, can you talk a little about what this patch fixes? I can read the 
> description, and it sounds really great, but it seems very fortunate that a 
> patch should appear for the exact problem we're having in FlightGear, at this 
> time. Am I hoping for too much, based upon the description?
Form the JSBSim developers list:

> 
> recently I've run into some floating point exceptions.  Tracing them
> down, I found that FGLocation could produce them.  This is due to the
> derived values not being initialized.  If the copy constructor or
> operator= are called, they copy over the uninitialized garbage in the
> derived values -- which on my system happens to evaluate to NaN, thus
> causing FPEs.

Coincidentally it was posted the same day someone mentioned the startup
'crash' of the C172p. I was hoping it might solve it but was (and still
am) skeptical it does. Due to the lack of feedback so far I don't know
for certain either.

Erik


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to