rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

emaxima.lisp, taylor, and a spurious "+" in the output #4082

Open rtoy opened 4 months ago

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-09 11:17:55 Created by eduardoochs on 2023-12-01 06:21:22 Original: https://sourceforge.net/p/maxima/bugs/4219


When I run this in a Maxima compiled a few weeks ago,

load("/usr/share/emacs/site-lisp/maxima/emaxima.lisp")$ display2d:'emaxima$ taylor (42*x, x, 0, 4);

I get this:

Adding 118 subdirectories of "/usr/local/share/maxima/branch_5_47_base_312_gd5a35a21b/share" to search path. Adding 0 subdirectories of "/home/edrx/.maxima" to search path. Loading /home/edrx/.maxima/maxima-init.lisp Loading /home/edrx/.maxima/maxima-init.mac Maxima branch_5_47_base_312_gd5a35a21b https://maxima.sourceforge.io using Lisp SBCL 2.1.1.debian Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) load("/usr/share/emacs/site-lisp/maxima/emaxima.lisp")$

(%i2) display2d:'emaxima$

(%i3) taylor (42*x, x, 0, 4); +(%o3) 42\,x+\cdots (%i4)

The "+" before the "(%o3) 42\,x+\cdots" looks spurious to me...

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-09 11:17:56 Created by l_butler on 2023-12-07 20:14:25 Original: https://sourceforge.net/p/maxima/bugs/4219/#fd87


Confirmed in both emaxima and imaxima.

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-09 11:17:59 Created by l_butler on 2023-12-07 20:14:44 Original: https://sourceforge.net/p/maxima/bugs/4219/#83ef