From f164b8c846f0e77b1604b26adb3e3824cdd1c701 Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Sun, 24 Jun 2007 19:37:43 +0000 Subject: [PATCH] (math-div2-bignum): Use math-bignum-digit-size. --- lisp/calc/calc-misc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/calc/calc-misc.el b/lisp/calc/calc-misc.el index e9674ff938b..ecc304a5f5f 100644 --- a/lisp/calc/calc-misc.el +++ b/lisp/calc/calc-misc.el @@ -579,7 +579,7 @@ loaded and the keystroke automatically re-typed." (defun math-div2-bignum (a) ; [l l] (if (cdr a) - (cons (+ (/ (car a) 2) (* (% (nth 1 a) 2) 500)) + (cons (+ (/ (car a) 2) (* (% (nth 1 a) 2) (/ math-bignum-digit-size 2))) (math-div2-bignum (cdr a))) (list (/ (car a) 2)))) -- 2.39.2