Ten times log to the base 10

Supported Technologies

MT, SSE2, Family10h


FwStatus   fws10Log10_32s_Sfs ( const Fw32s * pSrcFw32s * pDstint lenint scaleFactor );
FwStatus   fws10Log10_32s_ISfs ( Fw32s * pSrcDstint lenint scaleFactor );


len   Specifies the number of elements in a buffer.
pDst   Pointer to a destination buffer.
pSrc   Pointer to a source buffer.
pSrcDst   Pointer to a buffer that is both the source and destination.
scaleFactor   Specifies an integer scaling factor for the Sfs operation. The returned result is multiplied by 2^(-scaleFactor).


These functions step through vector elements in a source buffer and calculate ten times the common logarithm of each element.

The results are integer scaled, then written to a destination buffer.

This function is particularly useful for calculating logarithmic scale values, such as decibels.