View Single Post
  #2   Spotlight this post!  
Unread 03-02-2008, 13:10
jacobhurwitz jacobhurwitz is offline
Registered User
FRC #0449 (Blair Robot Project)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Maryland
Posts: 45
jacobhurwitz has a spectacular aura aboutjacobhurwitz has a spectacular aura aboutjacobhurwitz has a spectacular aura about
Re: Math functions in EasyC pro

Quote:
Originally Posted by TonyP View Post
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.

Thanks

Tony P
" Not going to church this week! "
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.