Function: math-power-of-2

math-power-of-2 is an autoloaded and byte-compiled function defined in calc-bin.el.gz.

Signature

(math-power-of-2 N)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-bin.el.gz
(defun math-power-of-2 (n)    ;  [I I] [Public]
  (if (natnump n)
      (ash 1 n)
    (error "Argument must be a natural number")))