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

Functions

float acosf (float x)
 Compute arc cosine. More...
 

Function Documentation

◆ acosf()

float acosf ( float  x)

Compute arc cosine.

The acosf 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 acosf functions return arccos x in the interval [0,π ] radians.