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

Re: Log base 2

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Thu, 19 Sep 2002 23:06:02 +0200

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
Received on 2002-09-19

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy