From: Jens Vollinga Date: Wed, 4 May 2005 19:07:45 +0000 (+0000) Subject: Added note on gcd arguments. X-Git-Tag: release_1-4-0~178 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=d5597eb0c7a3a1c93ff55974328c31c923deeedb;ds=sidebyside Added note on gcd arguments. --- diff --git a/doc/tutorial/ginac.texi b/doc/tutorial/ginac.texi index 1d63162a..232f883e 100644 --- a/doc/tutorial/ginac.texi +++ b/doc/tutorial/ginac.texi @@ -5143,7 +5143,8 @@ The functions @code{gcd()} and @code{lcm()} accept two expressions @code{a} and @code{b} as arguments and return a new expression, their greatest common divisor or least common multiple, respectively. If the polynomials @code{a} and @code{b} are coprime @code{gcd(a,b)} returns 1 -and @code{lcm(a,b)} returns the product of @code{a} and @code{b}. +and @code{lcm(a,b)} returns the product of @code{a} and @code{b}. Note that all +the coefficients must be rationals. @example #include