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



Peter Dickerson wrote:

.... snip ...

The OP didn't give an input range or accuracy requirement so its
hard to guess what is best. The thing we do know is that its for
an ARM7, which has a reasonable multiplier, so better than linear
shouldn't be a issue.

I believe he specified that he was dealing solely with integers.

--
<http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt>
<http://www.securityfocus.com/columnists/423>
<http://www.aaxnet.com/editor/edit043.html>
<http://kadaitcha.cx/vista/dogsbreakfast/index.html>
cbfalconer at maineline dot net



--
Posted via a free Usenet account from http://www.teranews.com

.