[Ecls-list] Coerce bug
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Sun Oct 26 19:19:42 UTC 2008
On Sun, Oct 26, 2008 at 2:36 AM, Raymond Toy <toy.raymond at gmail.com> wrote:
> (defun zot (z)
> (type-of (coerce z '(complex double-float))))
> (compile 'zot)
> (zot 10) -> (integer 10 10)
>
> I think it should return (complex double-float), not integer.
Yes, this is a bug of the compiler routine that optimizes and inlines
COERCE. It will be fixed in 10 minutes.
Juanjo
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28009 (Spain)
http://juanjose.garciaripoll.googlepages.com
More information about the ecl-devel
mailing list