integers. Enables flonums like PI to be subject to CSE.
#| -*-Scheme-*-
-$Id: rcse2.scm,v 1.1 1994/11/19 02:06:38 adams Exp $
+$Id: rcse2.scm,v 1.2 1996/07/24 03:09:30 adams Exp $
Copyright (c) 1988-1994 Massachusetts Institute of Technology
(define (continue expression)
(rtl:reduce-subparts expression + 0 loop
(lambda (object)
- (cond ((integer? object) (inexact->exact object))
+ (cond ((real? object) (round->exact object))
((symbol? object) (symbol-hash object))
((string? object) (string-hash object))
(else (hash object))))))