Collaboration diagram for DSP_bexp:
int | DSP_bexp (const int *x, short nx) |
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.
x | = Input data array of integers | |
nx | = Number of elements in the input data |