Rockbox mail archiveSubject: Re: Log base 2
Re: Log base 2
From: Jack Peel <jhp_at_cypress.com>
Date: Thu, 19 Sep 2002 14:20:12 -0700
But don't you want a log base 20 ? (or am I remebering dB wrong ? )
I should probably go do some research before I start popping off :-)
Philipp Pertermann wrote:
> From: "Jeff Waltzer"
> > One could do a primitive approximation of a Log base 2
> function by
> > rotating the bits to find the left most location set bit.
> This would be
> > good if all you need is a number from 0 to 15.
> I believe I already found the perfect link. I just hate math
> and have been to lazy to understand that yet.
Received on 2002-09-19