Printing complex numbers changed?



Am Mittwoch, den 26.10.2011, 20:08 -0700 schrieb Raymond Toy:
> It seems that printing of complex numbers has changed.  With maxima
> 5.23post, I get:
> 
> (%i1) -1-2*%i;
> (%o1)                             - 2 %i - 1
> 
> With the current git version, I get
> 
> -(2 %i) - 1
> 
> Was this change intentional?  I kind of like the old way better.  (I'd
> much prefer -1 - 2*%i, but that seems much harder to produce.)

Sorry, but I have introduced this bug, when implementing a msize-mminus
and dim-mminus function. I have already committed a correction in
displa.def revision 22.10.2011. Therefore, I get the following with the
current Maxima version:

(%i1) -1-2*%i;
(%o1)                             - 2 %i - 1

(%i2) display2d:false;
(%o2) false

(%i3) -1-2*%i;
(%o3) -2*%i-1

Dieter Kaiser