#584 is(equal(...)) takes sign(%i)

closed
nobody
Lisp Core (471)
5
2006-12-19
2004-07-14
Anonymous
No

Sometimes is(equal(...)) fails with the message that
SIGN was called
on an imaginary argument.

This happens on

Maxima version: 5.9.0
Maxima build date: 19:20 6/28/2004
host type: i686-pc-linux-gnu
lisp-implementation-type: CMU Common Lisp
lisp-implementation-version: 18e

but I have seen it with a later CMUCL snapshot, too.

Smallest example I can find:

(C1) prederror: false $

(C2) is(equal((%E^(%I*z)-%E^-(%I*z)), 0));

SIGN called on an imaginary argument:
%I
-- an error. Quitting. To debug this try
DEBUGMODE(TRUE);)

Albert Reiner, <areiner@tph.tuwien.ac.at>.

Discussion

  • Robert Dodier

    Robert Dodier - 2006-07-31
    • labels: --> Lisp Core
     
  • Robert Dodier

    Robert Dodier - 2006-07-31

    Logged In: YES
    user_id=501686

    Observed in 5.9.3cvs.

     
  • Robert Dodier

    Robert Dodier - 2006-12-19
    • status: open --> closed
     
  • Robert Dodier

    Robert Dodier - 2006-12-19

    Logged In: YES
    user_id=501686
    Originator: NO

    Fixed by r1.16 src/compar.lisp (by Barton Willis).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks