Function: calc-evaluate
calc-evaluate is an interactive and byte-compiled function defined in
calc-ext.el.gz.
Signature
(calc-evaluate N)
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-ext.el.gz
(defun calc-evaluate (n)
(interactive "p")
(calc-slow-wrapper
(if (= n 0)
(setq n (calc-stack-size)))
(calc-with-default-simplification
(if (< n 0)
(calc-pop-push-record-list 1 "eval"
(math-evaluate-expr (calc-top (- n)))
(- n))
(calc-pop-push-record-list n "eval" (mapcar #'math-evaluate-expr
(calc-top-list n)))))
(calc-handle-whys)))