cos

fnfloat cos(float x)

Returns cosine of x. x is in radians.

x cos(x) invalid?
NaN NaN yes
±∞ NaN yes

Bugs

Results are undefined if |x| >= 264.
fndouble cos(double x)
No documentation available for this declaration.
fnreal cos(real x)
No documentation available for this declaration.