1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-21 18:23:59 +00:00

(math-bignum-logb-digit-size,math-bignum-digit-power-of-two):

Evaluate when compiled.
This commit is contained in:
Jay Belanger 2007-07-08 00:26:02 +00:00
parent 4346200eb9
commit 9f2dcb8bcf

View 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.