Function: math-want-polar

math-want-polar is an autoloaded and byte-compiled function defined in calc-cplx.el.gz.

Signature

(math-want-polar A B)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-cplx.el.gz
(defun math-want-polar (a b)
  (cond ((eq (car-safe a) 'polar)
	 (if (eq (car-safe b) 'cplx)
	     (eq calc-complex-mode 'polar)
	   t))
	((eq (car-safe a) 'cplx)
	 (if (eq (car-safe b) 'polar)
	     (eq calc-complex-mode 'polar)
	   nil))
	((eq (car-safe b) 'polar)
	 t)
	((eq (car-safe b) 'cplx)
	 nil)
	(t (eq calc-complex-mode 'polar))))