Hi John,

mspgcc-users-boun...@lists.sourceforge.net wrote on 19.07.2006 21:12:11:
> Message: 2
> Date: Wed, 19 Jul 2006 18:52:45 +0100
> From: "John Pote" <johnp...@blueyonder.co.uk>
> Subject: Re: [Mspgcc-users] Libmath: powf() and logf() are too slow
> 
> I cannot point you in the direction of a 'quick' readily available 
> library but here are some thoughts that might help.
> 
> a) logf((float)v / 10000.0) is an identity with ( ie an = with 3 
> lines) logf((float)v) - k where k=logf(10000.0)

the division by 10000 is a relict from timing the "lenght". 
in real life the operation is a pure logf() from a float variable.

Yesterday i've tested an algorithm from FXTBOOK and thus could 
cut the calculation time down to about 5 ms for each function. 
(error < 3% ; for 5 iterations)

But thats still not the point where i want to be .... *aehm* ... where
the timing of the SPS wants me to be. ;-/ 


Ciao, Helmut

Reply via email to