acos

Returns a value in the range 0 to , which is the arc cosine of its radian argument.

Format

#include  <math.h>

double acos  (double x);

Argument

x
A radian expressed as a real value.

Description

When abs(x) is greater than 1.0, the value of acos(x) is 0 and the acos function sets errno to EDOM.


Previous Page | Next Page | Table of Contents | Index