]> git.eshelyaron.com Git - emacs.git/commitdiff
(Basic Arithmetic, Customizing Calc): Make description of
authorJay Belanger <jay.p.belanger@gmail.com>
Wed, 20 Jun 2007 19:36:28 +0000 (19:36 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Wed, 20 Jun 2007 19:36:28 +0000 (19:36 +0000)
the variable `calc-multiplication-has-precedence' match its effect.

lisp/ChangeLog
man/ChangeLog
man/calc.texi

index 7ad751b047531037ac39eff4ae193206a564d4ec..c2d25f1ca3077bfd6ab5a720fc5c4469a75eb3d6 100644 (file)
@@ -1,3 +1,8 @@
+2007-06-20  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc.el (math-standard-ops): Fix precedence of
+       multiplication.
+
 2007-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * vc.el (vc-default-log-view-mode): New function.
index 8de0d9807f26f2d5742baeac25c1444b356b7b8b..1c6d1dbf16b7522fbcc40d106f054b892a5f0bf8 100644 (file)
@@ -1,3 +1,9 @@
+2007-06-20  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc.texi (Basic Arithmetic, Customizing Calc):
+       Make description of the variable `calc-multiplication-has-precedence'
+       match its new effect.
+
 2007-06-19  Jay Belanger  <jay.p.belanger@gmail.com>
 
        * calc.texi (Basic Arithmetic, Customizing Calc): Mention
index 01c153a230a08703d097f0e1d6f0e97782e43cf4..3151d9b7b924a11a7b0dc44d0999d4bb41c8aedc 100644 (file)
@@ -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