how to use the function of fabs for mpc5643l c project with codewarrior 10.6?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to use the function of fabs for mpc5643l c project with codewarrior 10.6?

937件の閲覧回数
fangliang
Contributor I

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

#define EWL_FLOATING_POINT 1
#define EWL_C99 1

j = -11.11f;
j = fabsf(j);

the IDE tell me:function has no prototype 

the IDE have included the head files :

${PAToolsBaseDir}/PA_Support/ewl/EWL_C/include

${PAToolsBaseDir}/PA_Support/ewl/EWL_Runtime/Runtime_PA/Include

thank you!

0 件の賞賛
返信
1 返信

860件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hello,


I tested your use case on my side, but I am not able to reproduce the problem. Could you please share me your project?

Regards,

Martin

0 件の賞賛
返信