Mathias Fröhlich wrote: > Seriously, I *can* think of fast_atan's polynomials being faster than a full > blown correct functioin. > But those simple fabs, sign or neg function implemented in the header cannot > even be faster than the cpu builtin assembler instructions usually available > on current cpu's. Also, in presence of sse instructions forcing that fist > legacy i386 fpu instruction in that assembler snipet will not make it faster > (unloading from sse unit, loading to legacy fpu, in contrast to do the same > directly in the sse unit ...).
You know, I did a quick grep in the source code for fast_ and only found it to be used in simgear/sound/xmlsound.cxx (namely fast_log10 and fast_log). Maybe we can get rid of them after all. Erik -- http://www.ehtw.info (Dutch) Future of Enschede Airport Twente http://www.ehofman.com/fgfs FlightGear Flight Simulator _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel