Function: calc-expand-formula

calc-expand-formula is an autoloaded, interactive and byte-compiled function defined in calc-alg.el.gz.

Signature

(calc-expand-formula ARG)

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-alg.el.gz
(defun calc-expand-formula (arg)
  (interactive "p")
  (calc-slow-wrapper
   (calc-with-default-simplification
    (let ((math-simplify-only nil))
      (calc-modify-simplify-mode arg)
      (calc-enter-result 1 "expf"
			 (if (> arg 0)
			     (let ((math-expand-formulas t))
			       (calc-top-n 1))
			   (let ((top (calc-top-n 1)))
			     (or (math-expand-formula top)
				 top))))))))