Math Library Functions


acos, acosf


Syntax

#include <math.h>
double acos(double x);
float  acosf(float x);

Arguments

x      (in the range of -1 to 1)

Return Value

Arc cosine (in the range of 0 to pi) 

Description

Returns the arc cosine of the specified argument.