Mercurial > emacs
changeset 85705:83bdffa33f9f
(Formulas, Composition Basics): Lower the precedence of negation.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Sat, 27 Oct 2007 20:36:51 +0000 |
parents | c19c2b3e417b |
children | da5b0375e53a |
files | doc/misc/calc.texi |
diffstat | 1 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/misc/calc.texi Sat Oct 27 20:28:27 2007 +0000 +++ b/doc/misc/calc.texi Sat Oct 27 20:36:51 2007 +0000 @@ -11579,8 +11579,7 @@ 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 @@ @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 @@ 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)}