Re: [Flightgear-devel] [Flightgear-commitlogs] FlightGear branch, next, updated. d66903e9ad63b91182ccc25d9bb82f18f8dd98b6

2010-11-30 Thread Erik Hofman
On Tue, 2010-11-30 at 14:03 +, 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


Re: [Flightgear-devel] [Flightgear-commitlogs] FlightGear branch, next, updated. d66903e9ad63b91182ccc25d9bb82f18f8dd98b6

2010-11-30 Thread James Turner

On 30 Nov 2010, at 13:14, Flightgear-commitlogs wrote:

> commit c44948041b9356c9d16acc2d888de109bf7866e7
> Author: Erik Hofman
> Date:   Mon Nov 29 09:57:45 2010 +0100
> 
>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?

James

--
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