Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER LIBRARY FUNCTIONS->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 calculate the arc cosine of x.  The result is undefined if x is not within the range [-1...+1].



Return

These functions return the arc cosine of the value passed.