diff options
author | Jay Belanger <jay.p.belanger@gmail.com> | 2007-07-08 00:18:06 +0000 |
---|---|---|
committer | Jay Belanger <jay.p.belanger@gmail.com> | 2007-07-08 00:18:06 +0000 |
commit | 4346200eb93682e0dda0149e71ea3ff462c0f397 (patch) | |
tree | 63b989d3e0d82855b1e8353503a4f9b527fb4e3b /lisp/calc | |
parent | 9066adc420e321b5d21982b0c1edc092d26902f2 (diff) | |
download | emacs-4346200eb93682e0dda0149e71ea3ff462c0f397.tar.gz |
(math-bignum-logb-digit-size,math-bignum-digit-power-of-two): Evaluate
when compiled.
Diffstat (limited to 'lisp/calc')
-rw-r--r-- | lisp/calc/calc-bin.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/calc/calc-bin.el b/lisp/calc/calc-bin.el index 8f3c9468d88..fa8ba118c8c 100644 --- a/lisp/calc/calc-bin.el +++ b/lisp/calc/calc-bin.el @@ -34,13 +34,13 @@ ;;; Some useful numbers (defconst math-bignum-logb-digit-size - (logb math-bignum-digit-size) + (eval-when-compile (logb math-bignum-digit-size)) "The logb of the size of a bignum digit. 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 - (expt 2 math-bignum-logb-digit-size) + (eval-when-compile (expt 2 math-bignum-logb-digit-size)) "The largest power of 2 less than the size of a Calc bignum digit.") ;;; b-prefix binary commands. |