max
maximum
Synopsis
#include <math.h>
int max (int parm1, int parm2)
long int lmax (long int parm1, long int parm2)
float fmaxf (float parm1, float parm2)
double fmax (double parm1, double parm2)
fract16 max_fr16 (fract16 parm1, fract16 parm2)
Description
This function returns the larger of its two arguments.
Algorithm
if (parm1 > parm2)
return(parm1)
else
return(parm2)
Domain
Full range for type of parameters.
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
DSP Run-Time Library
4-85
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers