MCF52235 - Codewarrior 5.7.0 Math Library

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MCF52235 - Codewarrior 5.7.0 Math Library

1,932 次查看
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
标签 (1)
0 项奖励
回复
1 回复

664 次查看
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 项奖励
回复