COS

Section: Linux Programmer's Manual (3)
Updated: June 8, 1993
Index Return to Main Contents
 

NAME

cos - cosine function  

SYNOPSIS

#include <math.h>

double cos(double x);
 

DESCRIPTION

The cos() function returns the cosine of x, where x is given in radians.  

RETURN VALUE

The cos() function returns a value between -1 and 1.  

CONFORMING TO

SVID 3, POSIX, BSD 4.3, ISO 9899  

SEE ALSO

acos(3), asin(3), atan(3), atan2(3), sin(3), tan(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
CONFORMING TO
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 12:23:40 GMT, March 22, 2025