MicrOS
acos.c File Reference
#include "../math.h"

Functions

double acos (double x)
 Compute arc cosine. More...
 

Function Documentation

◆ acos()

double acos ( double  x)

Compute arc cosine.

The acos functions compute the principal value of the arc cosine of x. A domain error occurs for arguments not in the interval [−1, +1].

Parameters
xValue whose arc cosine is computed, in the interval [-1,+1].
Returns
The acos functions return arccos x in the interval [0,π ] radians.