#include <math.h>float acosf(float arg);double acos(double arg); long double acosl(long double arg);

acosf( ) and acosl( ) were added by C99.

The acos( ) family of functions returns the arc cosine of arg. The argument must be in the range –1 to 1; otherwise, a domain error will occur.

Related functions are asin( ), atan( ), atan2( ), sin( ), cos( ), tan( ), sinh( ), cosh( ), and tanh( ).

C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539 © 2008-2017.
If you may any questions please contact us: