CL float with mapcar?



(float *) is in the standard, see page 12-12, or
http://www.lispworks.com/documentation/HyperSpec/Body/t_float.htm

JCA

2013/1/31 Richard Fateman <fateman at eecs.berkeley.edu>

>
> (mapcar #'$float '(1 2/3 0.5))
> works fine in lisp.  Note the presence of $ there.
>
> I think that you should really be doing (mapcar #'(lambda(r)(coerce r
> 'double-float))   '( 1 2/3 0.5))
>
> if that is what you want.  I'm not sure that (float *)  is in the ANSI
> standard.
>
>
> RJF
>