Interface
F_TYPE cos (F_TYPE x)
F_TYPE cosd (F_TYPE x)
1 – Description
cos() computes the cosine of x, measured in radians.
cosd() computes the cosine of x, measured in degrees.
Entry-Point Names
Generic
Function Data Type OpenVMS Tru64 UNIX
Name Required
cos S_FLOAT math$cos_s cosf
T_FLOAT math$cos_t cos
X_FLOAT math$cos_x cosl
F_FLOAT math$cos_f
G_FLOAT math$cos_g
cosd S_FLOAT math$cosd_s cosdf
T_FLOAT math$cosd_t cosd
X_FLOAT math$cosd_x cosdl
F_FLOAT math$cosd_f
G_FLOAT math$cosd_g
2 – Exceptions
Exceptional Argument Routine Behavior
|x| = infinity Invalid argument