Re: Simple/Fast Algorithm for binary logarithm in C (on ARM7)



On May 11, 7:14 pm, Tilmann Reh <tilmann...@xxxxxxxxxxxxx> wrote:
Hello all,

in a current ARM7 project I need to do some calculations which include a
logarithm. All other math is done with integers (i.e. fixed point
arithmetic), and I would like to calculate the log fast and with little
code - so I don't prefer using FP conversion and the standard math
libraries.

Can anyone point to fixed-point logarithmic routines I could use (resp.
tailor to my needs)?

Thanks,
Tilmann

--http://www.autometer.de- Elektronik nach Maß.

Tilmann Wrote:
.in a current ARM7 project I need to do some calculations which include a logarithm.

Sounds comparison operation to me as you need to compare the values
with your logarithm table. IMHO hash table would yield the best
performance with index and key attributes.

ali

.



Relevant Pages