Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER LIBRARY FUNCTION REFERENCE->Detailed Descriptions->acos() acosl()

Summary

#include <math.h>
    
double acos(double x)Calculate arc cosine to double precision
long double acosl(long double x)Calculate arc cosine to long double precision
Parameter
    
xValue between 1 and 1 whose arc cosine is to be calculated.
Description

These functions return the arc cosine of x.  If x is not within the range [-1...+1], the value 0.0 is returned and errno is set to EDOM.


Return

These functions return the arc cosine between 0 and pi of the value passed.