Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • ram's avatar
    eafdc708
    Added %UNARY-TRUNCATE-{SINGLE,DOUBLE}-FLOAT/FIXNUM functions, but then · eafdc708
    ram authored
    commented them out, cause I decided to do this by frobbing the rounding
    modes.  They might be useful someday.
    Added %UNARY-ROUND to handle the 1-arg case of round, making it use
    the new round primitive in the fixnum result case.
    Fixed %UNARY-TRUNCATE to use open bounds when deciding whether the result
    is a fixnum, and also to only return one value in the ratio case.
    eafdc708
    History
    Added %UNARY-TRUNCATE-{SINGLE,DOUBLE}-FLOAT/FIXNUM functions, but then
    ram authored
    commented them out, cause I decided to do this by frobbing the rounding
    modes.  They might be useful someday.
    Added %UNARY-ROUND to handle the 1-arg case of round, making it use
    the new round primitive in the fixnum result case.
    Fixed %UNARY-TRUNCATE to use open bounds when deciding whether the result
    is a fixnum, and also to only return one value in the ratio case.