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.

Compiler/TMS320C6713B: where to find Fastmathlibc67x.lib

Part Number: TMS320C6713B

Tool/software: TI C/C++ Compiler

Dear TI Team,

The Current Code generation tolls doesn't provide Fastmathlibc67x.lib. Can any you please suggest where to find that library? 

  • I'm not certain, but I think you are looking for Mathlib.  

    Thanks and regards,

    -George

  • Dear George,
    Thank you for replying. Actually i have that library c67xmathlib.lib but there is another one (maybe more optimized or just renamed) Fastmathlibc67x.lib. So is there any difference between the two or they are same?
  • A library named fastmath67x.lib was, in the past, released with the C6000 compiler.  The entry in the compiler readme about it starts ...

    The C67x FastMath Library provides hand-coded assembly-optimized versions
    of the following functions:

    atan atanf atan2 atan2f cos cosf exp expf exp10 exp10f exp2 exp2f log
    logf log10 log10f log2 log2f pow powf recip recipf rsqrt rsqrtf sin sinf

    These implementations are 2-3x faster than those found in the standard RTS
    library.

    These functions gain speed improvements at the cost of accuracy in the result.
    In the general case, you may expect to see precision loss in two of your
    result's LSBs. For cos, cosf, pow, and powf, however, you may see precision
    loss in as many as 11 of the result's LSBs.

    Compare that to the description of Mathlib.  They certainly solve the same problem.

    Nisar Ahmad said:
    So is there any difference between the two or they are same?

    I would expect some slight differences.  Just because they are so far apart in time.  But no major differences.

    Thanks and regards,

    -George