blake wrote:
> 
> Graham's Ansi Common Lisp says that (float x) should generate a 
> single-float, but I get the following on my 18e version on RH 8.0:

Float will convert a real number to a float, if it is not already some 
kind of float.  The CLHS is your friend.

> How do I coerce the product of a double-float and (something else) to a 
> single-float?

You can do this with either:

(float x 1f0)  ; Or any other single-float constant
(coerce x 'single-float)

Ray


Reply via email to