Function: math-arctan-series
math-arctan-series is a byte-compiled function defined in
calc-math.el.gz.
Signature
(math-arctan-series SUM N X XNEGSQR)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-math.el.gz
(defun math-arctan-series (sum n x xnegsqr)
(math-working "arctan" sum)
(let* ((nextx (math-mul-float x xnegsqr))
(nextsum (math-add-float sum (math-div-float nextx (math-float n)))))
(if (math-nearly-equal-float sum nextsum)
sum
(math-arctan-series nextsum (+ n 2) nextx xnegsqr))))