Function: math-real-log2
math-real-log2 is a byte-compiled function defined in calc-bin.el.gz.
Signature
(math-real-log2 X)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-bin.el.gz
(defun math-real-log2 (x) ;;; calc-internal-prec must be 6
(let ((res (assq x math-log2-cache)))
(if res
(cdr res)
(let* ((calc-symbolic-mode nil)
(calc-display-working-message nil)
(log (calcFunc-log x 2)))
(setq math-log2-cache (cons (cons x log) math-log2-cache))
log))))