|
Rockbox mail archiveSubject: Re: Log base 2Re: Log base 2
From: Philipp Pertermann <philipp.pertermann_at_web.de>
Date: Thu, 19 Sep 2002 22:30:05 +0200 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. http://www.dattalo.com/technical/theory/logs.html Phil Received on 2002-09-19 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |