Skip to content
  • Raymond Toy's avatar
    Fix #22 where coerce was returning the wrong type of float. · bb4afde9
    Raymond Toy authored
    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.
    bb4afde9