DSP_bexp
[Miscellaneous]

Collaboration diagram for DSP_bexp:


Detailed Description

int DSP_bexp (const int *x, short nx)


Function Documentation

int DSP_bexp ( const int *  x,
short  nx 
)

The bexp function, performs a determination of the block exponent of the vector of elements and returns the maximum exponent. This information can then be used to re-normalize the vector. This operation is useful when auto-scaling is required as in a FFT. The bexp operation returns the minimum norm of the vector. The minimum norm corresponds to the maximum exponent.

Parameters:
x = Input data array of integers
nx = Number of elements in the input data
Algorithm:
DSP_bexp_cn.c is the natural C equivalent of the optimized intrinsic C code without restrictions note that the intrinsic C code is optimized and restrictions may apply.
Assumptions:
Arrays x and r cannot overlap.
x must be double word alligned.
nx is a multiple of 8.
Implementation notes:
Endian Support: The code supports both big and little endian modes.
Interruptibility: The code is interruptible.


Copyright 2014, Texas Instruments Incorporated