Math Bean ??

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

Math Bean ??

1,989 次查看
ariclowe
Contributor I
Hello again,

Im targeting the Flexis JM128 chip using Code Warrion V 6.2.  Im in need of some math functionality within my current project such as a simple sin() function.   Im aware that processor expert provides math beans to implement these math functions more easily but it appears that option is not available within the software Im using.  Ive attempted simply including math.h along with some of the other math files included within the Codewarrior files with no avail.  Wondering if someone could give me some advice.

Thanks
Aric
标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

900 次查看
ariclowe
Contributor I

Thanks, I did discover that was the problem just the other day.

 

-Aric

0 项奖励
回复

900 次查看
ProcessorExpert
Senior Contributor III
Hello Aric,

there is no such bean available in Processor Expert. Please note that the sin funcion return float therefore you have to switch on the support for float during project creation in "Project wizard"*.
I tried calculation of sin() function using including math.h on JM128 in Code Warrior v6.2 and I have not encountered any problems.

 

best regards
Vojtech Filip
Processor Expert Support Team

0 项奖励
回复