]> www.ginac.de Git - ginac.git/blobdiff - doc/tutorial/ginac.texi
Improve (fix?) smod: now it really converts into symmetric representation...
[ginac.git] / doc / tutorial / ginac.texi
index 3207a96fcb1c197ee3df95c72c0508e3827a3a24..fe7a2648661966aa7d0ab0768148457039c95609 100644 (file)
@@ -1479,7 +1479,7 @@ evaluated immediately:
 @tab modulus in positive representation (in the range @code{[0, abs(b)-1]} with the sign of b, or zero)
 @cindex @code{mod()}
 @item @code{smod(a, b)}
-@tab modulus in symmetric representation (in the range @code{[-iquo(abs(b)-1, 2), iquo(abs(b), 2)]})
+@tab modulus in symmetric representation (in the range @code{[-iquo(abs(b), 2), iquo(abs(b), 2)]})
 @cindex @code{smod()}
 @item @code{irem(a, b)}
 @tab integer remainder (has the sign of @math{a}, or is zero)