Hi,
I have a question regarding using functions like Tan inverse CodeWarrior. I am using CodeWarrior version 10.6.4 and the micro controller is part of the MC9S12ZVC family and I am using a USB multilink universal debugger to communicate.
Is there a function I can use for getting the Tan inverse of a number ? I tried using atan and atanf functions but neither of them worked. Inclusion of math.h or GFLIB.h did not help. Is there a way this can be done ?
Sincerely,
Mahendra
Solved! Go to Solution.
Hi Mahendra
atan and atanf are math functions which need floating lib support.
When creating a new project, choose floating lib support as below.
Thus the project will link the related floating lib in linker setting
from my test with above setting, the result is correct. see attached video.
Hi Mahendra
atan and atanf are math functions which need floating lib support.
When creating a new project, choose floating lib support as below.
Thus the project will link the related floating lib in linker setting
from my test with above setting, the result is correct. see attached video.
Hi Jennie,
Thank you for the quick response! That fixed the problem straight away!
Sincerely,
Mahendra
You are welcome!
Best Regards,
Jennie