]> git.eshelyaron.com Git - emacs.git/commitdiff
(math-bignum-logb-digit-size,math-bignum-digit-power-of-two):
authorJay Belanger <jay.p.belanger@gmail.com>
Sun, 8 Jul 2007 00:26:02 +0000 (00:26 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Sun, 8 Jul 2007 00:26:02 +0000 (00:26 +0000)
Evaluate when compiled.

lisp/calc/calc-bin.el

index fa8ba118c8cfe368fb0c9dbd761e53792a384879..2dde6216a0643a2a4d2d78e50a7aae4525b81dc3 100644 (file)
@@ -40,7 +40,7 @@ This is the largest value of B such that 2^B is less than
 the size of a Calc bignum digit.")
 
 (defconst math-bignum-digit-power-of-two
-  (eval-when-compile (expt 2 math-bignum-logb-digit-size))
+  (eval-when-compile (expt 2 (logb math-bignum-digit-size)))
   "The largest power of 2 less than the size of a Calc bignum digit.")
 
 ;;; b-prefix binary commands.