aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Belanger <[email protected]>2007-10-27 20:24:52 +0000
committerJay Belanger <[email protected]>2007-10-27 20:24:52 +0000
commitc8d007440529122c1d30a40fc35c086dc54b544b (patch)
tree7bddfa09d372e8b848beb39860b8e3d6fdbfdb7c
parent7e9d87d0033820520986ce4edec1685a2a7d02e3 (diff)
(math-standard-opers): Lower the precedence of negation.
-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 913b02e003..44e802d36b 100644
--- a/lisp/calc/calc.el
+++ b/lisp/calc/calc.el
@@ -3531,8 +3531,6 @@ and all digits are kept, regardless of Calc's current precision."
(defconst math-standard-opers
'( ( "_" calcFunc-subscr 1200 1201 )
( "%" calcFunc-percent 1100 -1 )
- ( "u+" ident -1 1000 )
- ( "u-" neg -1 1000 197 )
( "u!" calcFunc-lnot -1 1000 )
( "mod" mod 400 400 185 )
( "+/-" sdev 300 300 185 )
@@ -3540,6 +3538,8 @@ and all digits are kept, regardless of Calc's current precision."
( "!" calcFunc-fact 210 -1 )
( "^" ^ 201 200 )
( "**" ^ 201 200 )
+ ( "u+" ident -1 197 )
+ ( "u-" neg -1 197 )
( "/" / 190 191 )
( "%" % 190 191 )
( "\\" calcFunc-idiv 190 191 )