Function: calcFunc-arccos
calcFunc-arccos is an autoloaded and byte-compiled function defined in
calc-math.el.gz.
Signature
(calcFunc-arccos X)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-math.el.gz
(defun calcFunc-arccos (x) ; [N N] [Public]
(cond ((eq x 1) 0)
((and (eq x 0) (eq calc-angle-mode 'deg)) 90)
((and (eq x -1) (eq calc-angle-mode 'deg)) 180)
(calc-symbolic-mode (signal 'inexact-result nil))
((Math-numberp x)
(math-with-extra-prec 2
(math-from-radians (math-arccos-raw (math-float x)))))
((eq (car x) 'sdev)
(math-make-sdev (calcFunc-arccos (nth 1 x))
(math-from-radians
(math-div (nth 2 x)
(math-sqrt
(math-sub 1 (math-sqr (nth 1 x))))))))
((eq (car x) 'intv)
(math-sort-intv (nth 1 x)
(calcFunc-arccos (nth 2 x))
(calcFunc-arccos (nth 3 x))))
((equal x '(var nan var-nan))
x)
(t (calc-record-why 'numberp x)
(list 'calcFunc-arccos x))))