Functions
DSPF_sp_maxval
Collaboration diagram for DSPF_sp_maxval:

Functions

float DSPF_sp_maxval (const float *x, int nx)
 

Detailed Description

Function Documentation

◆ DSPF_sp_maxval()

float DSPF_sp_maxval ( const float *  x,
int  nx 
)

This routine finds out the maximum number in the input array. This code returns the maximum value in the array.

   @param x   Pointer to input array.
   @param nx  Number of inputs in the input array.
Algorithm:
DSPF_sp_maxval_cn.c is the natural C equivalent of the optimized linear assembly code without restrictions. Note that the linear assembly code is optimized and restrictions may apply.
Assumptions:
nx should be multiple of 4 and >= 4
x should be double-word aligned
Implementation Notes:
Interruptibility: The code is interruptible.
Endian Support: The code supports both big and little endian modes.

Copyright 2022, Texas Instruments Incorporated