aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJay Belanger <[email protected]>2007-08-17 20:18:16 +0000
committerJay Belanger <[email protected]>2007-08-17 20:18:16 +0000
commit37cecd78a0c473d992fa66b763d41034fc4719bb (patch)
tree331a36d0986b6064107af73fa3c713165085c7bc /lisp
parent7026903cf303168725fa3091d5eeaa5f0134dc43 (diff)
(math-bignum-digit-length): Compute the appropriate value.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/calc/calc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el
index 5377d4da75..8e416293a4 100644
--- a/lisp/calc/calc.el
+++ b/lisp/calc/calc.el
@@ -2284,8 +2284,8 @@ See calc-keypad for details."
-(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,...