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: Re: berzerk peak meter? Alpha testers wanted.
From: Paul Suade (paul.suade_at_laposte.net)
Date: 2002-09-24


Overflow bug fixed.

Added fflog10 based on fflog2.

It uses now a fixed point 4.12 bits integer instead of a fixed point 16.16
bits integer.

Example of results :

fflog10(32767) = 4.50146
fflog10(20479) = 4.28882
fflog10(17408) = 4.24048
fflog10(1279) = 3.08472
fflog10(264) = 2.4082
fflog10(72) = 1.85718
fflog10(18) = 1.25513
fflog10(15) = 1.17603
Press ENTER to continue...

----- Original Message -----
From: "Philipp Pertermann" <philipp.pertermann_at_web.de>
To: <rockbox_at_cool.haxx.se>
Sent: Tuesday, September 24, 2002 2:13 PM
Subject: Re: Re: berzerk peak meter? Alpha testers wanted.

>
> > i'm planning to generate SH1 assembly for fflog2 and fflog10 to examine
its
> > efficiency and if something can be better done.
> > > Paul: Thank you very much. I'll try this.
>
> One thing to improve is the value range. I have to calculate fflog2 of
quite large values (0 < x < 0x8000). I noticed that your implementation
works superb for small values but suffers of some overflows for big values.
Haven't traced where, yet.
>
> Phil
>
>
____________________________________________________________________________
__
> WEB.DE MyPage - Ultimatives Kommunikationstool! Ihre Message sofort
> online! Domain aenderbar! http://www.das.ist.aber.ne.lustige.sache.ms/
>





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