Function: math-to-radians-2

math-to-radians-2 is an autoloaded and byte-compiled function defined in calc-math.el.gz.

Signature

(math-to-radians-2 A &optional FORCE-SYMBOLIC)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-math.el.gz
(defun math-to-radians-2 (a &optional force-symbolic)   ; [N N]
  (cond ((eq (car-safe a) 'hms)
	 (math-from-hms a 'rad))
	((and (not math-simplifying-units)
              (memq calc-angle-mode '(deg hms)))
	 (if (or calc-symbolic-mode force-symbolic)
	     (math-div (math-mul a '(var pi var-pi)) 180)
	   (math-mul a (math-pi-over-180))))
	(t a)))