# HG changeset patch # User Jay Belanger # Date 1183853656 0 # Node ID 922131bc4a9386a14b400a616a666278fb382019 # Parent 61fb5a974af6b30b4e78ef193ef0bbfbd7ce68db (math-bignum-digit-size,math-small-integer-size): Evaluate when compiled. diff -r 61fb5a974af6 -r 922131bc4a93 lisp/calc/calc.el --- a/lisp/calc/calc.el Sun Jul 08 00:11:09 2007 +0000 +++ b/lisp/calc/calc.el Sun Jul 08 00:14:16 2007 +0000 @@ -2292,10 +2292,12 @@ The value of 2*10^(2*MATH-BIGNUM-DIGIT-LENGTH) must be less than the largest Emacs integer.") -(defconst math-bignum-digit-size (expt 10 math-bignum-digit-length) +(defconst math-bignum-digit-size + (eval-when-compile (expt 10 math-bignum-digit-length)) "An upper bound for the size of the \"digit\"s in Calc bignums.") -(defconst math-small-integer-size (expt 10 (* 2 math-bignum-digit-length)) +(defconst math-small-integer-size + (eval-when-compile (expt 10 (* 2 math-bignum-digit-length))) "An upper bound for the size of \"small integer\"s in Calc.")