[Openmcl-devel] BUG: FLOAT does not convert to single-float
kpreid at switchb.org
Thu Nov 17 17:03:00 UTC 2011
On Nov 17, 2011, at 11:38, Eric Marsden wrote:
> | ? (lisp-implementation-version)
> | "Version 1.8-dev (LinuxARM32)"
> | ? (float 1.0d0)
> | 1.0D0
This is not a bug, according to my reading of the CLHS:
“If prototype is not supplied, then if the number is already a float, it is returned; otherwise, a float is returned that is mathematically equal to number but is a single float.”
Here, the prototype is not supplied, and the number is a float, so it is returned.
Kevin Reid <http://switchb.org/kpreid/>
More information about the Openmcl-devel