GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


Manpage of COS

COS

Index
 

NAME

cos, cosf, cosl - cosine function  

SYNOPSIS

#include <math.h>

double cos(double x);

float cosf(float x);

long double cosl(long double x);
 

DESCRIPTION

The fBcos()fP function returns the cosine of fIxfP, where fIxfP is given in radians.  

RETURN VALUE

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

CONFORMING TO

SVID 3, POSIX, BSD 4.3, ISO 9899. The float and the long double variants are C99 requirements.  

SEE ALSO

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
CONFORMING TO
SEE ALSO