diff options
author | Jay Belanger <[email protected]> | 2007-06-20 19:36:28 +0000 |
---|---|---|
committer | Jay Belanger <[email protected]> | 2007-06-20 19:36:28 +0000 |
commit | eaea8b1da70cd22ea96ca20f5494640df9a6a9a2 (patch) | |
tree | 4d008ffd0cbe11521cf51726c72268ad125dfb57 /man | |
parent | cad63e32bd505644b7dc2e3901bf35899c2ef3c1 (diff) |
(Basic Arithmetic, Customizing Calc): Make description of
the variable `calc-multiplication-has-precedence' match its effect.
Diffstat (limited to 'man')
-rw-r--r-- | man/ChangeLog | 6 | ||||
-rw-r--r-- | man/calc.texi | 14 |
2 files changed, 13 insertions, 7 deletions
diff --git a/man/ChangeLog b/man/ChangeLog index 8de0d9807f..1c6d1dbf16 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -1,3 +1,9 @@ +2007-06-20 Jay Belanger <[email protected]> + + * calc.texi (Basic Arithmetic, Customizing Calc): + Make description of the variable `calc-multiplication-has-precedence' + match its new effect. + 2007-06-19 Jay Belanger <[email protected]> * calc.texi (Basic Arithmetic, Customizing Calc): Mention diff --git a/man/calc.texi b/man/calc.texi index 01c153a230..3151d9b7b9 100644 --- a/man/calc.texi +++ b/man/calc.texi @@ -15987,8 +15987,8 @@ multiplication. (This is not standard across all computer languages, and Calc may change the precedence depending on the language mode being used. @xref{Language Modes}.) This default ordering can be changed by setting the customizable variable @code{calc-multiplication-has-precedence} to -@code{nil} (@pxref{Customizing Calc}); this will give division a higher -precedence than multiplication. Note that Calc's default choice of +@code{nil} (@pxref{Customizing Calc}); this will give multiplication and +division equal precedences. Note that Calc's default choice of precedence allows @samp{a b / c d} to be used as a shortcut for @smallexample @group @@ -35178,14 +35178,14 @@ and @code{calc-embedded-open-close-plain-alist}. @defvar calc-multiplication-has-precedence The variable @code{calc-multiplication-has-precedence} determines -whether multiplication or division has precedence in algebraic formulas +whether multiplication has precedence over division in algebraic formulas in normal language modes. If @code{calc-multiplication-has-precedence} is non-@code{nil}, then multiplication has precedence, and so for example @samp{a/b*c} will be interpreted as @samp{a/(b*c)}. If -@code{calc-multiplication-has-precedence} is @code{nil}, then division -has precedence, and so for example @samp{a/b*c} will be interpreted as -@samp{(a/b)*c}. The default value of -@code{calc-multiplication-has-precedence} is @code{t}. +@code{calc-multiplication-has-precedence} is @code{nil}, then +multiplication has the same precedence as division, and so for example +@samp{a/b*c} will be interpreted as @samp{(a/b)*c}. The default value +of @code{calc-multiplication-has-precedence} is @code{t}. @end defvar @node Reporting Bugs, Summary, Customizing Calc, Top |