Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER LIBRARY FUNCTION REFERENCE->Detailed Descriptions->cos() cosl()

Summary

#include <math.h>
    
double cos(double x)Calculate cosine to double precision
long double cosl(long double x);Calculate cosine to long double precision

Parameter
    
xFloating point value of angle in radians

Description

These functions calculate the cosine of x.


Return

These functions return the cosine of the parameter passed.