Math Bean ??

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

Math Bean ??

1,469 Views
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
Labels (1)
0 Kudos
2 Replies

380 Views
ariclowe
Contributor I

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

 

-Aric

0 Kudos

380 Views
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 Kudos