Hi folks
I am trying to use floorf and log10f functions
I see they are not available in math.h so Ive tried to include cmath.h instead
however the compiler issues the error "could not open source file "cmath.h""
I see the file available in the code generation tools\includes directory in the project listing and have included the the file like so: "#include "cmath.h"
I have also tried with <> instead of "" with no change.
How should I correctly include this file?
Looking in the cmath.h I see that floorf()and log10f() are mentioned but in a different way to other functions under __SUNPRO_CC and with a "using" syntax.
Are these functions available by including this header? is there a better method to use?
Thanks
P.S. I am using CCS v4 with C2000 Piccolo ControlSTICK (F28027PT)