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.

TMS320F280049C: CLA math ceil and floor

Part Number: TMS320F280049C

Tool/software:

The revision history of the CLA_MATH_LIB_UG.pdf says ceil and floor functions were added in V4.03.02.00.

I can't seem to find them or figure out how to call them. How to call these functions? Are they named something different?

#10461-D Invalid to call C28 function "_ceil"

#10461-D Invalid to call C28 function "_floor"

#225-D function "ceil" declared implicitly

#225-D function "floor" declared implicitly

  • Hello,

    I apologize for my delayed response. The floor and ceil function definitions can be found in the CLAmath.h file, they are CLA_floor(float32_t val) and CLA_ ceil(float32_t val):

    Make sure you include the CLAmath.h header file in you .cla file to be able to call these functions from a CLA task. 

    Best Regards,

    Delaney