Page 1 of 1

arctan() and abs() functions

Posted: Fri Jun 11, 2004 8:07 pm
by lobow
Hi! I have to use these fuctions arctan() and abs() but the compiler didnt find it in math.h . Is it in another library?

Is there a site that has a list of librarys and its functions?

Re: arctan() and abs() functions

Posted: Fri Jun 11, 2004 8:48 pm
by angga888
lobow wrote:Hi! I have to use these fuctions arctan() and abs() but the compiler didnt find it in math.h .
Are you sure? arctan() -> atan()
My C compiler support those functions.

Posted: Fri Jun 11, 2004 8:49 pm
by angga888
And also you can find everything on the Help menu. :wink:

Posted: Fri Jun 11, 2004 9:01 pm
by lobow
Tks, I have already founded it. abs() was in stdlib.h
and i just have atan() thats why I dont find that.

Posted: Sun Jun 13, 2004 9:20 pm
by Dominik Michniewski
In "math.h" header is also function fabs() - absolute value for floating point numbers :-)

Best regards
DM