On 09/15/2015 11:15 PM, Dennis Glatting wrote:
With the VOLK library, is there a way to compute the log10() of each
32f in a buffer?

That is:

  for( int i = 0; i < num; ++i )
    buf[i] = std::log10( buf[i]);

I only see log2() in the library but don't know if there is an easy way
to compute log10().


Thanks.
Define "fast".

Ordinarily, one does a log10 to convert into engineering units at the back of, for example, a power-measurement chain.

There's usually no reason to do that in the middle of a flow-graph, where things can stay in linear units.



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to