Exp

Raise base e to a specified power

Supported Technologies

MT, SSE2, Family10h

Synopsis

FwStatus   fwsExp_32f ( const Fw32f * pSrcFw32f * pDstint len );
FwStatus   fwsExp_64f ( const Fw64f * pSrcFw64f * pDstint len );
FwStatus   fwsExp_32f64f ( const Fw32f * pSrcFw64f * pDstint len );
FwStatus   fwsExp_32f_I ( Fw32f * pSrcDstint len );
FwStatus   fwsExp_64f_I ( Fw64f * pSrcDstint len );
FwStatus   fwsExp_16s_Sfs ( const Fw16s * pSrcFw16s * pDstint lenint scaleFactor );
FwStatus   fwsExp_32s_Sfs ( const Fw32s * pSrcFw32s * pDstint lenint scaleFactor );
FwStatus   fwsExp_64s_Sfs ( const Fw64s * pSrcFw64s * pDstint lenint scaleFactor );
FwStatus   fwsExp_16s_ISfs ( Fw16s * pSrcDstint lenint scaleFactor );
FwStatus   fwsExp_32s_ISfs ( Fw32s * pSrcDstint lenint scaleFactor );
FwStatus   fwsExp_64s_ISfs ( Fw64s * pSrcDstint lenint scaleFactor );

Parameters

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).

Description

These functions step through vector elements in a source buffer and calculate e to the power specified by each element.

Results can be written to a destination buffer or written back to the source buffer.

The 16-bit and 32-bit signed versions perform an integer scaling operation before writing the results.

These functions are the inverses of the Ln functions.