Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • toy's avatar
    5256a270
    FFLOOR bug from Paul Dietz on cmucl-imp: · 5256a270
    toy authored
    (defun f (x) (declare (type (integer 0 100) x)) (ffloor x))
    
    was not compiling.  FTRUNCATE-DERIVE-TYPE-QUOT didn't handle the case
    where the result type was FLOAT, which implied that
    NUMERIC-TYPE-FORMAT is NIL.
    5256a270
    History
    FFLOOR bug from Paul Dietz on cmucl-imp:
    toy authored
    (defun f (x) (declare (type (integer 0 100) x)) (ffloor x))
    
    was not compiling.  FTRUNCATE-DERIVE-TYPE-QUOT didn't handle the case
    where the result type was FLOAT, which implied that
    NUMERIC-TYPE-FORMAT is NIL.