summaryrefslogtreecommitdiff
path: root/lisp/calc/calc-ext.el
diff options
context:
space:
mode:
authorJay Belanger <jay.p.belanger@gmail.com>2007-06-23 04:36:29 +0000
committerJay Belanger <jay.p.belanger@gmail.com>2007-06-23 04:36:29 +0000
commitb593f1de16112e8a59d1db61e1b2c52dce993a99 (patch)
tree5c5b81afa89ea73ae03ffff41a179309fa6f6a81 /lisp/calc/calc-ext.el
parente72e768b75b01340f3e9d190cb0927e7fa1c3733 (diff)
downloademacs-b593f1de16112e8a59d1db61e1b2c52dce993a99.tar.gz
(math-fixnum-big): Use the variable math-bignum-digit-size.
Diffstat (limited to 'lisp/calc/calc-ext.el')
-rw-r--r--lisp/calc/calc-ext.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el
index 9650bdffbcf..2816941f87a 100644
--- a/lisp/calc/calc-ext.el
+++ b/lisp/calc/calc-ext.el
@@ -2222,7 +2222,7 @@ calc-kill calc-kill-region calc-yank))))
(defun math-fixnum-big (a)
(if (cdr a)
- (+ (car a) (* (math-fixnum-big (cdr a)) 1000))
+ (+ (car a) (* (math-fixnum-big (cdr a)) math-bignum-digit-size))
(car a)))
(defvar math-simplify-only nil)