changeset 85701:a716b9a57af8

(math-standard-opers): Lower the precedence of negation.
author Jay Belanger <jay.p.belanger@gmail.com>
date Sat, 27 Oct 2007 20:24:52 +0000
parents 134547b13d73
children 8d96a389d68d
files lisp/calc/calc.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc.el	Sat Oct 27 19:14:08 2007 +0000
+++ b/lisp/calc/calc.el	Sat Oct 27 20:24:52 2007 +0000
@@ -3531,8 +3531,6 @@
 (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 @@
      ( "!"     calcFunc-fact 210  -1 )
      ( "^"     ^             201 200 )
      ( "**"    ^             201 200 )
+     ( "u+"    ident	     -1  197 )
+     ( "u-"    neg	     -1  197 )
      ( "/"     /             190 191 )
      ( "%"     %             190 191 )
      ( "\\"    calcFunc-idiv 190 191 )