changeset 106138:18198cdc91fa

(math-compose-expr): Let `calc-twos-complement-mode' be nil.
author Jay Belanger <jay.p.belanger@gmail.com>
date Fri, 20 Nov 2009 00:56:28 +0000
parents 0e720bab47c6
children 92448fe233b3
files lisp/calc/calccomp.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calccomp.el	Fri Nov 20 00:55:53 2009 +0000
+++ b/lisp/calc/calccomp.el	Fri Nov 20 00:56:28 2009 +0000
@@ -377,7 +377,8 @@
 		(list 'horiz "(" (math-compose-expr (nth 1 a) 0) ")")
 	      (math-compose-expr (nth 1 a) 201))
 	    (let ((calc-language 'flat)
-		  (calc-number-radix 10))
+		  (calc-number-radix 10)
+                  (calc-twos-complement-mode nil))
 	      (math-compose-expr (nth 2 a) 0))))
      ((and (eq (car a) '/)
 	   (eq calc-language 'big))