Hello,

recently i discovered that the powf() and logf() are 
sooooooooooooooooooooooooooooooo
slow that it hurts.

If youre watching execution on a Scope a
----8<----
  DbgOut_P20_ON;
  r = logf((float)v / 10000.0);       // takes up about 10 ms (!!)
  DbgOut_P20_OFF;
----8<----

and a 
----8<----
  DbgOut_P20_ON;
  r = powf(10,(float)v / 10000.0);    // takes up about 32 ms (!!!!!!)
  DbgOut_P20_OFF;
----8<----

this is pure horror 4 me!

Has anybody a faster (and only slightly less precise) version of these?
Cutting calulation time by 10...50 is my goal.

Ciao,
          Helmut

Reply via email to