Hello, I couldn't find any information about number of cycles needed for log10 routine in keil 51, does anybody know that ? one thing else Is it possible to use combination of a lookup table and some simple calculations to speed up the process for a float(!) ? thank you
You can approximate a log function by using one of the following: Pade: http://math.fullerton.edu/mathews/a2001/Animations/Interpolation/Pade/Pade.html Taylor: http://www.cs.gasou.edu/faculty/demos/TaylorPolynomials/
http://www.keil.com/benchmks/c51_v6code.htm http://www.keil.com/benchmks/c51_v6float.asp
Thank you very much all