Menu ▾ ▴

#5826 maxima 5.50.0: sum fails with ECL

None
closed
nobody
None
5
3 days ago
5 days ago
No

With Maxima 5.50.0 along ECL 26.5.5, the following sequence of instruction fails

longnum:100^ 1000;
'sum(a+''longnum,a,-longnum,longnum);

It gives

Maxima encountered a Lisp error:

 #<a FLOATING-POINT-OVERFLOW 0x7fca5f494340>

Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.

This sample was extracted from the source ball of wxmaxim 26.10.0 from the test file test/testbench_simple.wxm. Moreover it works well along GCL.

Discussion

  • David Scherfgen

    David Scherfgen - 5 days ago

    I can't reproduce it on ECL 26.3.27/Windows, it works there.

     
  • Jerome Benoit

    Jerome Benoit - 5 days ago

    I should specify that I run it on an uptodate Debian Sid environment with the package maxima-sage(version 5.50.0-5).

     
  • David Scherfgen

    David Scherfgen - 4 days ago
    • status: open --> closed
     
  • David Scherfgen

    David Scherfgen - 4 days ago

    Fixed by commit [749af2].
    It was caused by a no-longer-needed workaround for a bug in very old ECL versions. With the workaround removed, it should now work correctly.

     

    Related

    Commit: [749af2]


    Last edit: David Scherfgen 4 days ago
  • Jerome Benoit

    Jerome Benoit - 3 days ago

    It rocks. Thanks for your quick fix.

     

Log in to post a comment.