Simplify RATIONAL/constant FLOAT and INTEGER/constant RATIO comparisons
authorPaul Khuong <pvk@pvk.ca>
Sat, 8 Jun 2013 03:37:52 +0000 (23:37 -0400)
committerPaul Khuong <pvk@pvk.ca>
Sat, 8 Jun 2013 06:31:35 +0000 (02:31 -0400)
commit688be4b745c0b7f57c2fcb0b6a86f7cff4bca1d7
tree2de4b4dd2b7d9cb76fa7f7cb8f203c0e2c7fd57c
parent7f579b076a1fc54587538ead07e506e7f06f3fe8
Simplify RATIONAL/constant FLOAT and INTEGER/constant RATIO comparisons

 The spec says that rationals and floats are compared by first calling
 RATIONAL on the float. Constant fold the call to RATIONAL, and round
 to an integer if applicable.
NEWS
src/compiler/srctran.lisp