]> www.ginac.de Git - ginac.git/blobdiff - doc/tutorial/ginac.texi
Added note on gcd arguments.
[ginac.git] / doc / tutorial / ginac.texi
index 1d63162a25c5fba0fd8d55ab37b865c7712f7378..232f883e52e20575d279ee79aa3df04fc32f5938 100644 (file)
@@ -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 <ginac/ginac.h>