MCF52235 - Codewarrior 5.7.0 Math Library

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCF52235 - Codewarrior 5.7.0 Math Library

1,473 Views
ariaveta
Contributor I
Hello,

In my application (using MCF52235 and Codewarrior 5.7.0) I need to use some math functions (trigonometric and logarithm) and I can't manage to find them.

I'm including math.h but the linker seems not to find them, altough they are described in the online help.

Maybe this is a silly question but how to use the mathematical library? Should I make some special setting?

Thanks,
Marco
Labels (1)
0 Kudos
1 Reply

205 Views
CrasyCat
Specialist III
Hello
 
In order to be able to use math functions you need to enable floating point arithmetic support in your project.
 
Please look at this thread for information on how to achieve that.
 
CrasyCat
0 Kudos