Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6734 Discussions

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

gregorio_chindamo
388 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
388 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

0 Kudos
Reply