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.

CCS/TMS320C6652: C66x saturation to normalized values

Part Number: TMS320C6652
Other Parts Discussed in Thread: MATHLIB

Tool/software: Code Composer Studio

Hello,

Do you know if an intrinsic command into the Mathlib or dsplib exist to sature the result of an aritmetic function to -1.0 and 1.0 in floating point? Or do I need to code something like "if(a>1.0) a=1.0".. I think this is time consuming. I already read C66x CPU and instruction set reference guide but I didn't found what I'm looking for.

With the C28x the IQSat() command from the IQMath librarie does the job but we are in fixe point.

Best regards,

Sylvain.