cos3
Cosine functions
Usage
#include <math.h>
double
cos(double x);
float
cosf(float x);
long double
cosl(long double x);
Library
Math Library (libm, -lm)
Overview
The cos(), cosf(), and cosl() functions compute the cosine of x (measured in radians). A large magnitude argument may yield a result with little or no significance. For a discussion of error due to roundoff, see math(3).
Return values
The cos(), cosf(), and cosl() functions return the cosine value.
Releases
87 releases since FreeBSD 2.0.5-RELEASE; the text changed 45 times.