AnsweredAssumed Answered

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

Question asked by fang liang on Sep 18, 2017
Latest reply on Sep 19, 2017 by Martin Kovar

#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!

Outcomes