![]() -> Click here to learn how to get live help <- |
COSIndexNAMEcos, cosf, cosl - cosine functionSYNOPSIS#include <math.h> double cos(double x); float cosf(float x); long double cosl(long double x); DESCRIPTIONThe fBcos()fP function returns the cosine of fIxfP, where fIxfP is given in radians.RETURN VALUEThe fBcos()fP function returns a value between -1 and 1.CONFORMING TOSVID 3, POSIX, BSD 4.3, ISO 9899. The float and the long double variants are C99 requirements.SEE ALSOacos(3), asin(3), atan(3), atan2(3), sin(3), tan(3)
Index |