Mercurial > emacs
changeset 106146:cfc4f2fef78c
(calcFunc-vunpack): Let `calc-twos-complement-mode' be nil.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Fri, 20 Nov 2009 01:00:27 +0000 |
parents | ba9f3a2508e3 |
children | dbd3331d305f |
files | lisp/calc/calc-vec.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calc/calc-vec.el Fri Nov 20 00:59:50 2009 +0000 +++ b/lisp/calc/calc-vec.el Fri Nov 20 01:00:27 2009 +0000 @@ -1338,6 +1338,7 @@ (if w (setq a (math-clip a w))) (if (math-messy-integerp a) (setq a (math-trunc a))) (let* ((calc-number-radix 2) + (calc-twos-complement-mode nil) (neg (math-negp a)) (aa (if neg (math-sub -1 a) a)) (str (if (eq aa 0)