cos

Returns cosine of x. x is in radians.

Special Values
xcos(x)invalid?
NaNNaNyes
±∞NaNyes
  1. real cos(real x)
    real
    cos
    (
    real x
    )
  2. creal cos(creal z)
  3. real cos(ireal y)

Bugs

Results are undefined if |x| >= 264.

Meta