implement CEILING and FLOOR in terms of %CEILING and %FLOOR
authorNikodemus Siivola <nikodemus@sb-studio.net>
Fri, 5 Aug 2011 09:58:38 +0000 (12:58 +0300)
committerNikodemus Siivola <nikodemus@sb-studio.net>
Fri, 5 Aug 2011 13:11:06 +0000 (16:11 +0300)
commit0b79d8fa3e2a1c2ba30fac3828215d74351ff40e
treecc89ee100c32c0d80865f4688433d8c4ff34fdbd
parent38440de88f807327380cc5883aa8a670f6ff8b54
implement CEILING and FLOOR in terms of %CEILING and %FLOOR

  This allows transforms specific to CEILING and FLOOR fire first.

  If they fail, the fallback transforms to %CEILING or %FLOOR,
  respectively.

  They in turn are inlined, allowing the transforms for TRUNCATE
  to pick up the slack.

  This allows the new division -> multiplication transforms to fire
  for CEILING and FLOOR when SPACE > 1.
package-data-list.lisp-expr
src/code/numbers.lisp
src/compiler/fndb.lisp
src/compiler/srctran.lisp
tests/arith.pure.lisp