Dear Netters,
Is it some kind of limitation or my misunderstanding,
but CMU CL doesn't allow me to use complex numbers in
the following situation:
CMU Common Lisp 16f, running on einstein
Send bug reports and questions to your local CMU CL maintainer, or to
··········@cs.cmu.edu.
Loaded subsystems:
Python 1.0, target SPARCstation/Sun 4
CLOS based on PCL version: March 92 PCL (2c) patched
CLX X Library MIT R5.0
Hemlock 3.5
* (list 1 2) ;; OK
(1 2)
* (list #c(1 2) 3) ;; what's wrong with it?
Argument NUMBER is not a REAL: #C(1 2).
Restarts:
0: [ABORT] Return to Top-Level.
Debug (type H for help)
(KERNEL:%UNARY-TRUNCATE #C(1 2))
0] q
* (list (complex 1 2) 3) ;; the same problem
Argument NUMBER is not a REAL: #C(1 2).
Restarts:
0: [ABORT] Return to Top-Level.
Debug (type H for help)
(KERNEL:%UNARY-TRUNCATE #C(1 2))
0] q
* (quit)
Any input would be appreciated.
Lenny Kneler ESRI, 380 New York St.
·······@esri.com Redlands, CA 92373 USA
In article <·········@esri.com> you write:
>* (list #c(1 2) 3) ;; what's wrong with it?
>
>Argument NUMBER is not a REAL: #C(1 2).
It's a bug in the hash-table implementation, which is being used by the
pretty printer.
--
Barry Margolin
System Manager, Thinking Machines Corp.
······@think.com {uunet,harvard}!think!barmar