#include <cmath>float acos(float arg);double acos(double arg); long double acos(long double arg);

The acos( ) function returns the arc cosine of arg. The argument to acos( ) 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: