Open rtoy opened 2 months ago
Imported from SourceForge on 2024-07-09 11:13:19 Created by rtoy on 2023-10-24 22:03:08 Original: https://sourceforge.net/p/maxima/bugs/4199/#a806
What version? I don't see this with maxima HEAD. It displays -1 + ...
and -1 + x + ...
.
Oh, but if I set display2d:false
, I see what you're saying for -1. But for x-1, I see -1+x
, which seems ok.
Imported from SourceForge on 2024-07-09 11:13:23 Created by macrakis on 2023-10-26 09:38:10 Original: https://sourceforge.net/p/maxima/bugs/4199/#a806/d26e
Sorry for not reporting full version and configuration info. Here is a fuller report:
On Maxima 5.46.0 SBCL 2.3.0 MacOS
taylor(-1,x,0,0) => /T/ (- 1) + . . .
taylor(x-1,x,0,1) => /T/ (- 1) + x + . . .
display2d:false$
taylor(-1,x,0,0) => +(-1)
taylor(x-1,x,0,1) => (-1)+x
In none of these cases are the parentheses around -1 needed.
Imported from SourceForge on 2024-07-09 11:13:27 Created by kjak on 2024-06-20 12:14:35 Original: https://sourceforge.net/p/maxima/bugs/4199/#9217
Using git HEAD it seems that I'm seeing what Ray was seeing:
(%i1) display2d;
(%o1) false
(%i2) taylor(-1,x,0,0);
(%o2) +(-1)
(%i3) taylor(x-1,x,0,1);
(%o3) -1+x
(%i4) display2d : true$
(%i5) taylor(-1,x,0,0);
(%o5)/T/ - 1 + . . .
(%i6) taylor(x-1,x,0,1);
(%o6)/T/ - 1 + x + . . .
So out of these it looks like only %o2
has the display issue now.
SBCL and CLISP on Linux.
Imported from SourceForge on 2024-07-09 11:13:18 Created by macrakis on 2023-10-23 08:45:35 Original: https://sourceforge.net/p/maxima/bugs/4199
taylor(-1,x,0,0) displays as +(-1). It should display as -1. Less annoyingly, taylor(x-1,x,0,1) displays as (-1)+x instead of -1+x.