On Saturday 17 June 2006 10:05, Erik Hofman wrote:
> Mathias Fröhlich wrote:
> > I would never use these functions for serious computations, since I doubt
> > that they will pass any IEEE test.
>
> They are not designed for that either. It can be useful for sound
> processing and color adjustments where very high precision isn't
> necessary. I use it for instance for gamma correction on my O2. It does
> give me a framerate improvement.
Well, but gamma correction happens often. At ervery frame width times height 
pixels times number of colors. That are easily more than 1e6 operations a 
second.

I can hard imagine an operation in flightgear that happens that often, 
dominates the computation time *and* that does not require some minimum 
accuracy.

I for myself would not use them for the HUD. Too few invocations (that is: 
potential speedup) compared to the subtle problems that can arise.

For the sound stuff, I do not even see, if sound is disabled or enabled, so I 
can hard imagine to see the improovement of the fastmath functions from the 
sound subsystem.

Performance is a critical subject to me.
But IMO the possible advantages of the fastmath functions are too few compared 
to the possible problems.

   Greetings

              Mathias

-- 
Mathias Fröhlich, email: [EMAIL PROTECTED]


_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to