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.

fastmath Calculation error !help

Other Parts Discussed in Thread: MATHLIB

hello,everybody.

 I use C67xmathlib_2_01_00_00_Windows_Setup.exe in order to speed up the computation.

my Build Properties as follows:

ccs4.1.2.00027
CGT:6.1.12

Propertiers->C6000 Linker->File Search Path->(--library)->Add->C:\c67xmathlib_2_01_00_00\lib\c674xfastMath.lib->Move Up。

Propertiers->C6000 Linker->File Search Path->(--search_path)->Add->C:\c67xmathlib_2_01_00_00\lib->Move Up。

Propertiers->C6000 Compiler->Include Options->(--include)->Add->C:\c67xmathlib_2_01_00_00\inc.

Test program:

#include <c67fastmath.h>
void main()
{
double a = 232.2312;
double b = rsqrtdp(a);
double c = sqrt(a);
}

Result:

a = 232.2312;
b = 0.065620527447;
c = -1074409180.0;

I don't why the error analysis.

Is not configured properly or version does not correspond to??

Who can guide me.Thanks.

Who can provide a can I use to mathlib base on CCS4.1.2.