Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Log base 2
From: Linus Nielsen Feltzing (linus_at_haxx.se)
Date: 2002-09-19


On Thu, 19 Sep 2002 11:17:58 -0700 (PDT), Jeff Waltzer wrote:
> 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.

But didn't he need a Log base 10 function?

-- 
Linus Nielsen Feltzing, linus_at_haxx.se on 2002-09-19



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa