From: Michael A. Koerber
Subject: CMUCL ERROR? (LOG #C(0.4 0.5))
Date: 
Message-ID: <3AD48775.2F84C7F0@ll.mit.edu>
When using the "lisp-safe.core" the below error occurs.  The
"lisp-normal.core"
and "lisp-small.core" do not show this error.  I'm using CMUCL 2.4.22,
CMUCL-SAFE 2.4.22,
CMUCL-SMALL 2.4.22, and CMUCL-NORMAL 2.4.22 all converted from DEBIAN to
RPM under RH Linux 6.2.

Is this a known error?  Is there a fix, other than using another core?

tnx

mak

==================================================

* (log #c(0.4 0.5))

Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:
   -0.44579905382680446d0 is not of type (DOUBLE-FLOAT 0.0d0)

Restarts:
  0: [ABORT] Return to Top-Level.

Debug  (type H for help)

(KERNEL::COMPLEX-LOG-SCALED #C(0.4 0.5) 0)
Source: Error finding source: 
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer
exists:
  target:code/irrat.lisp.
0]
From: Raymond Toy
Subject: Re: CMUCL ERROR? (LOG #C(0.4 0.5))
Date: 
Message-ID: <4ny9t72x7p.fsf@rtp.ericsson.se>
>>>>> "Michael" == Michael A Koerber <ยทยทยท@ll.mit.edu> writes:


    Michael> * (log #c(0.4 0.5))

    Michael> Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:
    Michael>    -0.44579905382680446d0 is not of type (DOUBLE-FLOAT 0.0d0)

    Michael> Restarts:
    Michael>   0: [ABORT] Return to Top-Level.

    Michael> Debug  (type H for help)

    Michael> (KERNEL::COMPLEX-LOG-SCALED #C(0.4 0.5) 0)
    Michael> Source: Error finding source: 
    Michael> Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer
    Michael> exists:
    Michael>   target:code/irrat.lisp.
    Michael> 0]


Bummer.  This is a declaration bug complex-log-scaled in irrat.lisp.
I'll forward this on to the cmucl team.  Fortunately, if you still
want to use the safe core, you can just grab the new version of
complex-log-scaled and load it into the core.

Ray