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



On Fri, 11 May 2007 23:02:31 +0200, Tilmann Reh
<tilmannreh@xxxxxxxxxxxxx> wrote:

Jonathan Kirwan schrieb:

You've gotten some responses already, but here's another you might
consider looking at. It's one of the chapters of a book that Analog
used to give away (don't know if they still do) to customers. Great
book. Anyway, this chapter covers the logarithm for the ADSP-21xx DSP
processor, but it includes a good description about the whys and
wherefores as well as a coded example (which requires a little bit of
learning of the isntruction set if you want to understand each and
every step of the code -- but that isn't too hard.) Here is the
chapter:

http://www.analog.com/UploadedFiles/Associated_Docs/727652249Chapter_4.pdf

Thanks for that link, Jonathan. I had also found it doing one more
internet search this afternoon, but didn't yet find the time to look at
it more deeply (which I'll surely do, however).

I used that routine, with modifications I made, in an application I
wrote (and is still in use today) back in 1990, or so. It's worked
very well. If you have further questions about the concepts there,
feel free to ask. I can address the mathematical treatment to get
there as well as the implementation details.

Jon
.



Relevant Pages

  • Re: Cable companies look to go all-digital
    ... Cable subscribers who own a cable-ready analog TV? ... Cable companies are eager to sweep away analog channels to make room ... customers, is about to lead that charge with the industry's most ... digital-to-analog adapter that can fit inconspicuously behind the TV. ...
    (rec.arts.tv)
  • Cable companies look to go all-digital
    ... Cable subscribers who own a cable-ready analog TV? ... Cable companies are eager to sweep away analog channels to make room ... customers, is about to lead that charge with the industry's most ... digital-to-analog adapter that can fit inconspicuously behind the TV. ...
    (rec.arts.tv)
  • JOB: Director of Analog/Mixed-Signal IC Design- Austin, TX
    ... help the mixed-signal engineering team create value for our customers ... You will work with other members of the IC engineering team, ... responsible for leading the analog/mixed-signal design team through ... need to recruit highly talented and sought-after analog IC designers ...
    (sci.electronics.design)
  • Re: $5 monthly surcharge
    ... going to impose a $5 monthly surcharge to non-GSM phone customers starting ... Cingular To Charge Non-GSM Subscribers ... In an effort to get subscribers off of older analog and TDMA ... TDMA/AMPS capable handsets and plans. ...
    (alt.cellular.cingular)