aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPeder O. Klingenberg2017-02-23 20:27:57 -0500
committerGlenn Morris2017-02-23 20:28:40 -0500
commitf6d2ba74f80b9a055a3d8072d49475aec45c2dbe (patch)
tree6842204b2dd57e93b8902184c4d1c45de35294ef /doc
parent8b912ab47bc91f54565f127abf24c97e5d46a1ba (diff)
downloademacs-f6d2ba74f80b9a055a3d8072d49475aec45c2dbe.tar.gz
emacs-f6d2ba74f80b9a055a3d8072d49475aec45c2dbe.zip
Make calc's least common multiple positive (bug#25255)
* lisp/calc/calc-comb.el (calcFunc-lcm): Return absolute value. * doc/misc/calc.texi (Combinatorial Functions): Update for the above.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/calc.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index baf46f71703..7bd060189c5 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -19111,8 +19111,8 @@ the operation is left in symbolic form.
19111@tindex lcm 19111@tindex lcm
19112The @kbd{k l} (@code{calc-lcm}) [@code{lcm}] command computes the 19112The @kbd{k l} (@code{calc-lcm}) [@code{lcm}] command computes the
19113Least Common Multiple of two integers or fractions. The product of 19113Least Common Multiple of two integers or fractions. The product of
19114the LCM and GCD of two numbers is equal to the product of the 19114the LCM and GCD of two numbers is equal to the absolute value of the
19115numbers. 19115product of the numbers.
19116 19116
19117@kindex k E 19117@kindex k E
19118@pindex calc-extended-gcd 19118@pindex calc-extended-gcd