Tool/software: Code Composer Studio
Hi team,
Do we have the function like sin or cos that can be used directly in the code to get the maximum value of three numbers.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hi team,
Do we have the function like sin or cos that can be used directly in the code to get the maximum value of three numbers.
Charles,
Refer to Tables 7-6 and 7-7 of the Compiler user guide SPRU514s. It lists the instrinsics of interest like __max, __min, __lmax, __lmin, __fmax, __fmin, which you can use directly in C code.
I don't believe we have anything optimized for 3 numbers.
Thanks,
Sira