Go to Post Don't you know anything about programming? It's a black box; you don't need to know how it works. - Chriszuma [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2008, 12:27
TonyP TonyP is offline
Registered User
FRC #2151 (Pythons)
Team Role: Mentor
 
Join Date: Nov 2007
Rookie Year: 2006
Location: Elk Grove Village, Il
Posts: 12
TonyP is an unknown quantity at this point
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.

Thanks

Tony P
" Not going to church this week! "
  #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.
  #3   Spotlight this post!  
Unread 03-02-2008, 14:50
paulcd2000's Avatar
paulcd2000 paulcd2000 is offline
Accidentally speaks in C
AKA: Paul Dagnelie
FRC #1719 (The Umbrella Corp.)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Baltimore
Posts: 368
paulcd2000 is a jewel in the roughpaulcd2000 is a jewel in the roughpaulcd2000 is a jewel in the rough
Send a message via AIM to paulcd2000
Re: Math functions in EasyC pro

have you checked the tutorials for these functions? they might be included
__________________
"People don't say 'It's just a game' when their team is winning!" -- Scott Adams

5.5 students (on average)* $7/h *210 hours/student= $8085 of labor, all volunteered (not counting mentors', who are each that much)

We have blades on our robot?! ***sweeeeeet***

There are 11 types of people in the world. Those who can read binary, those who can't, and those who say this joke is supposed to be, "There are 10 types of people in the world. Those who can read binary and those who have a life."
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Vista/EasyC & EasyC Pro rswsmay Programming 1 25-04-2007 10:47
useful easyC Pro Functions not on the Tree Kingofl337 Programming 0 09-02-2007 00:01
speed of math.h trig functions? Jared Russell Programming 4 07-02-2006 07:13
New math functions? KVermilion Programming 8 17-01-2005 10:38


All times are GMT -5. The time now is 23:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi