Commit 0edd2970 authored by Jay Belanger's avatar Jay Belanger
Browse files

(Formulas, Composition Basics): Lower the precedence of negation.

parent 7841a7dd
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.
......
......@@ -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)}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment