acos

Calculates the arccosine.

double acos (double x);

Required Header
<math.h>

Return Value

This function returns the arccosine of a double in radians.

Parameters

x

  The value to be converted

Remarks

The acos function calculates the arccosine of x to 15 digits of precision.

Mathematics

See Also    asin, atan, atan2, cos, sin, tan, sinh, cosh, tanh, cot