Function: math-cos-raw-2
math-cos-raw-2 is a byte-compiled function defined in calc-math.el.gz.
Signature
(math-cos-raw-2 X ORGX)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-math.el.gz
(defun math-cos-raw-2 (x orgx) ; [F F]
(cond ((math-with-extra-prec -1 (math-nearly-zerop-float x orgx))
'(float 1 0))
((math-use-emacs-fn 'cos x))
(calc-symbolic-mode (signal 'inexact-result nil))
(t (let ((xnegsqr (math-neg-float (math-sqr-float x))))
(math-sin-series
(math-add-float '(float 1 0)
(math-mul-float xnegsqr '(float 5 -1)))
24 5 xnegsqr xnegsqr)))))