From 0edd2970d2fe0e00490904a1d4054778ed0cc690 Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Sat, 27 Oct 2007 20:38:38 +0000 Subject: [PATCH] (Formulas, Composition Basics): Lower the precedence of negation. --- doc/misc/ChangeLog | 5 +++++ doc/misc/calc.texi | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 73677b121e..6c7b4b6071 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,8 @@ +2007-10-27 Jay Belanger + + * calc.texi (Formulas, Composition Basics): Lower the + precedence of negation. + 2007-10-25 Jonathan Yavner * ses.texi (The Basics): Mention how to create a new spreadsheet. diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index ee2dbfb5bc..2441f0c116 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi @@ -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)} -- 2.20.1