Skip to content
Snippets Groups Projects
Commit bb4afde9 authored by Raymond Toy's avatar Raymond Toy
Browse files

Fix #22 where coerce was returning the wrong type of float.

src/compiler/float.lisp:
o The deftransform coerce was checking for a type of 'float and using
  %single-float to do the conversion.  This is incorrect; it should
  only apply if the type is 'single-float.

tests/issues.lisp
o Add test for this.

Verified that the test fails on the current snapshot and ix fixed by
this change.
parent e50d75bc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment