And BTW fast_log2 don't work correctly with denormalized numbers, i.e. very small numbers, which can easily happen when cancellation effects occur.
Try x = 1.e-45 and you get an error of more then 14%. (This is enormous for a log() type function). Please remove this function and use log() instead. _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel