Mercurial > emacs
changeset 82438:3b91823ccbc5
(math-bignum-digit-length): Compute the appropriate value.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Fri, 17 Aug 2007 20:18:16 +0000 |
parents | 8b8f5e509809 |
children | d45f82f9c8f3 |
files | lisp/calc/calc.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calc/calc.el Fri Aug 17 19:57:14 2007 +0000 +++ b/lisp/calc/calc.el Fri Aug 17 20:18:16 2007 +0000 @@ -2284,8 +2284,8 @@ -(defconst math-bignum-digit-length 4 -; (truncate (/ (log10 (/ most-positive-fixnum 2)) 2)) +(defconst math-bignum-digit-length + (truncate (/ (log10 (/ most-positive-fixnum 2)) 2)) "The length of a \"digit\" in Calc bignums. If a big integer is of the form (bigpos N0 N1 ...), this is the length of the allowable Emacs integers N0, N1,...