Function: cos
cos is a function defined in floatfns.c.
Signature
(cos ARG)
Documentation
Return the cosine of ARG.
Other relevant functions are documented in the number group.
Shortdoc
;; number
(cos float-pi)
=> -1.0
Source Code
// Defined in /usr/src/emacs/src/floatfns.c
{
double d = extract_float (arg);
d = cos (d);
return make_float (d);
}