Math functions in EasyC pro

Are math and trig functions available in EasyC pro? I am looking to perform an absolute value and a squareroot function.

We could write functions for this and probably will, but it seems to me that these ought to be available in the assignment block.


Tony P
" Not going to church this week! ":slight_smile:

Iā€™m pretty sure they can be used if you include the proper library. I think it should be #include <math.h>

You could always write your own absolute value function.

have you checked the tutorials for these functions? they might be included