Cube root

Supported Technologies

MT, SSE2, Family10h


FwStatus   fwsCubrt_32f ( const Fw32f * pSrcFw32f * pDstint len );
FwStatus   fwsCubrt_32s16s_Sfs ( const Fw32s * pSrcFw16s * pDstint lenint scaleFactor );


len   Specifies the number of elements in a buffer.
pDst   Pointer to a destination buffer.
pSrc   Pointer to a source buffer.
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, calculate the cube root of each element, and write the result to a destination buffer.

The 32-bit signed version of the functions perform an integer scaling operation before writing the results.