Function: math-add-or-sub

math-add-or-sub is an autoloaded and byte-compiled function defined in calc-arith.el.gz.

Signature

(math-add-or-sub A B ANEG BNEG)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-arith.el.gz
(defun math-add-or-sub (a b aneg bneg)
  (if aneg (setq a (math-neg a)))
  (if bneg (setq b (math-neg b)))
  (if (or (Math-vectorp a) (Math-vectorp b))
      (math-normalize (list '+ a b))
    (math-add a b)))