symbol cos/sin/sqrt redefined error at link time when replacing RTS function cos/sin/sqrt

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Medium
    • Code Generation Tools
    • CODEGEN-2009
    • C2000_15.12.3.LTS
    • Hide
      Add the following code somewhere in your program.

      #include <math.h>
      #include <float.h>

      #if DBL_MANT_DIG == FLT_MANT_DIG
      float cosf(float x) { return cos(x); }
      float sinf(float x) { return sin(x); }
      float sqrtf(float x) { return sqrt(x); }
      #endif
      Show
      Add the following code somewhere in your program. #include <math.h> #include <float.h> #if DBL_MANT_DIG == FLT_MANT_DIG float cosf(float x) { return cos(x); } float sinf(float x) { return sin(x); } float sqrtf(float x) { return sqrt(x); } #endif
    • User error

      symbol cos/sin/sqrt redefined error at link time when replacing RTS function cos/sin/sqrt

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-745 - symbol cos/sin/sqrt redefined error...
                SYNCHRONIZED
                • Last Sync Date: