Function: math-normalize-logical-op
math-normalize-logical-op is an autoloaded and byte-compiled function
defined in calc-prog.el.gz.
Signature
(math-normalize-logical-op A)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-prog.el.gz
(defun math-normalize-logical-op (a)
(or (and (eq (car a) 'calcFunc-if)
(= (length a) 4)
(let ((a1 (math-normalize (nth 1 a))))
(if (Math-zerop a1)
(math-normalize (nth 3 a))
(if (Math-numberp a1)
(math-normalize (nth 2 a))
(if (and (Math-vectorp (nth 1 a))
(math-constp (nth 1 a)))
(calcFunc-if (nth 1 a)
(math-normalize (nth 2 a))
(math-normalize (nth 3 a)))
(let ((calc-simplify-mode 'none))
(list 'calcFunc-if a1
(math-normalize (nth 2 a))
(math-normalize (nth 3 a)))))))))
a))