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.

Where is math.h?



All,

I've been prone to using IQmath.h because I can actually read it. I can't seem to find the standard math.h that CCS includes in my projects? Windows can't even find it... Where is it located? Can I read it? If not is there any documentation available?

- Ken

  • Math.h is the standard math.h file as dictated by the C- compiler, this is supported using the Runtime support library for a device, if you are trying to refer to see what all functions are available please look at any  C/C++ book/ document.

    If you are using CCSv4 you would be able to see this include path under the includes folder in the C/C++ pane,

    Regards

    -Manish Bhardwaj

  • As Manish pointed out the functions are standard-C so any C/C++ book should tell you what functions are available. The default dir for header files in CCS4 is

    C:\Program Files\Texas Instruments\ccsv4\tools\compiler\c2000\include

    I think the source files are in a zip file rtssrc.zip located at

    C:\Program Files\Texas Instruments\ccsv4\tools\compiler\c2000\lib

    there is a math folder in there