Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cos(3M) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acos(3M)

isnan(3M)

sin(3M)

tan(3M)

attributes(5)

cos(3M)

NAME

cos − cosine function

SYNOPSIS

cc [ flag ... ] file ... −lm [ library ... ]

#include <math.h>

double cos(double x);

DESCRIPTION

The cos() function computes the cosine of x, measured in radians.

RETURN VALUES

Upon successful completion, cos() returns the cosine of x.

If x is NaN or ±Inf, NaN is returned. 

ERRORS

No errors will occur. 

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level MT-Safe

SEE ALSO

acos(3M), isnan(3M), sin(3M), tan(3M), attributes(5)

SunOS 5.6  —  Last change: 29 Dec 1996

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026