|
||
double acos( double x )
double x; /* double value */
|
|
|
Synopsis |
#include "math.h"
The acos function returns the value, in radians, of the arc cosine, or cos-1 of x .
|
|
Parameters |
x must be in the range of [-1,1].
|
|
Return Value |
acos returns a value in the range of [0, π], provided x is in the specified range; otherwise, acos returns 0.0, and sets errno (the system error variable) to EDOM.
|
|
See Also |
|
|
|
|