Function: calcFunc-rad
calcFunc-rad is an autoloaded and byte-compiled function defined in
calc-math.el.gz.
Signature
(calcFunc-rad A)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-math.el.gz
;; Convert A from HMS or degrees to radians.
(defun calcFunc-rad (a) ; [R R] [Public]
(cond ((or (Math-numberp a)
(eq (car a) 'intv))
(math-with-extra-prec 2
(math-mul a (math-pi-over-180))))
((eq (car a) 'hms)
(math-from-hms a 'rad))
((eq (car a) 'sdev)
(math-make-sdev (calcFunc-rad (nth 1 a))
(calcFunc-rad (nth 2 a))))
(math-expand-formulas
(math-div (math-mul a '(var pi var-pi)) 180))
((math-infinitep a) a)
(t (list 'calcFunc-rad a))))