|
From: | Marcus D. Leech |
Subject: | Re: [Discuss-gnuradio] VOLK: fast way to log10()? |
Date: | Tue, 15 Sep 2015 23:35:54 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |