typing in console or executing file.sce the following commands z=poly(0,'z');
Reported by alexanderstoffel
-- Bug description --
typing in console or executing file.sce the following commands
z=poly(0,'z');
F1=(z^2+z^3+z^4)/z^2
F2=((1+0*%i)*z^2+z^3+z^4)/z^2
the common factor in F2 is not eliminated
contrarily to F1, i.e. the output is
F2 =
2 3 4
z + z + z
----------
2
z
and should be as for F1
F1 =
2
1 + z + z
---------
1
-- Scilab error message --
none
-- How to reproduce the bug --
type the above commands in the command window