Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
6670 Discussions

Is there an IPP function which speeds up the "Ldexp" function?

gregorio_chindamo
133 Views
Does anybody knowan IPP function which speeds up the "Ldexp" function?

Thanks in advance.

Gregorio Chindamo

ps. Im using the IPP v6.1.
0 Kudos
1 Reply
SergeyKostrov
Valued Contributor II
133 Views
Does anybody knowan IPP function which speeds up the "Ldexp" function?

Thanks in advance.

Gregorio Chindamo

ps. Im using the IPP v6.1.


Do you mean 'double ldexp( double x, int exp )'?

If Yes, please take a look ata Vector Math'ippvm.h' header:

...
IPPAPI( IppStatus, ippsExp_32f_A11, (const Ipp32f a[],Ipp32f r[],Ipp32s n))
IPPAPI( IppStatus, ippsExp_32f_A21, (const Ipp32f a[],Ipp32f r[],Ipp32s n))
IPPAPI( IppStatus, ippsExp_32f_A24, (const Ipp32f a[],Ipp32f r[],Ipp32s n))
IPPAPI( IppStatus, ippsExp_64f_A50, (const Ipp64f a[],Ipp64f r[],Ipp32s n))
IPPAPI( IppStatus, ippsExp_64f_A53, (const Ipp64f a[],Ipp64f r[],Ipp32s n))
...

or, in a Signal Processing'ipps.h' header:

...
IPPAPI(IppStatus, ippsExp_32f_I,(Ipp32f* pSrcDst, int len))
IPPAPI(IppStatus, ippsExp_64f_I,(Ipp64f* pSrcDst, int len))
IPPAPI(IppStatus, ippsExp_16s_ISfs,(Ipp16s* pSrcDst, int len, int scaleFactor))
IPPAPI(IppStatus, ippsExp_32s_ISfs,(Ipp32s* pSrcDst, int len, int scaleFactor))
IPPAPI(IppStatus, ippsExp_64s_ISfs,(Ipp64s* pSrcDst, int len, int scaleFactor))
...

or,

http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/cpp/lin/ipp/ipps/ipps_ch5/functn_Exp.html

Best regards,
Sergey

Reply