is this an error:

CL-USER> (type-of (complex 1.0 0.0))
(COMPLEX (SINGLE-FLOAT 0.0 1.0))

I was expecting '(COMPLEX SINGLE-FLOAT).  I also noted in comparing the
examples in the hyperspec that:
(TYPE-OF #C(0 1)) => (COMPLEX BIT)  not (COMPLEX INTEGER) and
(TYPE-OF #C(1 0)) => (INTEGER 1 1) not (COMPLEX INTEGER)

Is this an error in CMUCL (19a is being used)?  Or am I missing
something? (I feel pretty weak on understanding the type system.)

tnx

mike

--
---------------------
Dr Michael A. Koerber
x3250


Reply via email to