(Formulas, Composition Basics): Lower the precedence of negation.
authorJay Belanger <jay.p.belanger@gmail.com>
Sat, 27 Oct 2007 20:38:38 +0000 (20:38 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Sat, 27 Oct 2007 20:38:38 +0000 (20:38 +0000)
doc/misc/ChangeLog
doc/misc/calc.texi

index 73677b1..6c7b4b6 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-27  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc.texi (Formulas, Composition Basics): Lower the
+       precedence of negation.
+
 2007-10-25  Jonathan Yavner  <jyavner@member.fsf.org>
 
        * ses.texi (The Basics): Mention how to create a new spreadsheet.
index ee2dbfb..2441f0c 100644 (file)
@@ -11579,8 +11579,7 @@ with their equivalent function names, are:
 
 postfix @samp{%} [@code{percent}] (as in @samp{25% = 0.25});
 
-prefix @samp{+} and @samp{-} [@code{neg}] (as in @samp{-x})
-and prefix @samp{!} [@code{lnot}] (logical ``not,'' as in @samp{!x});
+prefix @samp{!} [@code{lnot}] (logical ``not,'' as in @samp{!x});
 
 @samp{+/-} [@code{sdev}] (the standard deviation symbol) and
 @samp{mod} [@code{makemod}] (the symbol for modulo forms);
@@ -11590,6 +11589,8 @@ and postfix @samp{!!} [@code{dfact}] (double factorial);
 
 @samp{^} [@code{pow}] (raised-to-the-power-of);
 
+prefix @samp{+} and @samp{-} [@code{neg}] (as in @samp{-x});
+
 @samp{*} [@code{mul}];
 
 @samp{/} [@code{div}], @samp{%} [@code{mod}] (modulo), and
@@ -14610,15 +14611,15 @@ The operator table used by normal and Big language modes has the
 following precedences:
 
 @example
-_     1200   @r{(subscripts)}
-%     1100   @r{(as in n}%@r{)}
--     1000   @r{(as in }-@r{n)}
-!     1000   @r{(as in }!@r{n)}
+_     1200    @r{(subscripts)}
+%     1100    @r{(as in n}%@r{)}
+!     1000    @r{(as in }!@r{n)}
 mod    400
 +/-    300
 !!     210    @r{(as in n}!!@r{)}
 !      210    @r{(as in n}!@r{)}
 ^      200
+-      197    @r{(as in }-@r{n)}
 *      195    @r{(or implicit multiplication)}
 / % \  190
 + -    180    @r{(as in a}+@r{b)}