Function: math-fix-const-terms
math-fix-const-terms is a byte-compiled function defined in
calcalg2.el.gz.
Signature
(math-fix-const-terms EXPR EXCEPT-VARS)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calcalg2.el.gz
(defun math-fix-const-terms (expr except-vars)
(cond ((not (math-expr-depends expr except-vars)) 0)
((Math-primp expr) expr)
((eq (car expr) '+)
(math-add (math-fix-const-terms (nth 1 expr) except-vars)
(math-fix-const-terms (nth 2 expr) except-vars)))
((eq (car expr) '-)
(math-sub (math-fix-const-terms (nth 1 expr) except-vars)
(math-fix-const-terms (nth 2 expr) except-vars)))
(t expr)))