Tool/software: TI C/C++ Compiler
Hello everyone
I have an issue with "sin()" function from the latest rts2800_ml.lib (compiler 18.1.0LTS).
I use F28035 without hard-fp, but i need to perform some operations with floating point. Actually i have to calc sin and cos for FP numbers. But with the new compiler my code needs HUGE amount of memory.
I have checked memory allocation and discovered, that "sin()" and "cos()" functions take 3 kW of memory.
So i have created a new project with "sin()"call only and compared three "rts2800_ml.lib" libraries: from 18.1.0, from 16.9.6 and from 6.2.0. I have used 18.1.0 compiler for all of these cases; just different libs.
The result: 18.1.0 - 3690 words / 16.9.6 - 671 words / 6.2.0 - 136 words. But the last one is a little cheating, because there is not "s_sinf", but "sin" function ( i don't know the difference, to be honest).
So the question is - what is that?