Incorrect coercion to float
Consider
(defun c (x)
(coerce x 'float))
(compile 'c)
Then (c 4d0)
returns 4.0
. But since 4d0
is already a float
, the correct answer should be 4d0
. Same thing happens with (c 4w0)
.
Consider
(defun c (x)
(coerce x 'float))
(compile 'c)
Then (c 4d0)
returns 4.0
. But since 4d0
is already a float
, the correct answer should be 4d0
. Same thing happens with (c 4w0)
.