diff --git a/piclib/scheme/base.scm b/piclib/scheme/base.scm index bddd8bd6..ad8a1679 100644 --- a/piclib/scheme/base.scm +++ b/piclib/scheme/base.scm @@ -191,7 +191,7 @@ (< x 0)) (define (even? x) - (= x (* (/ x 2) 2))) + (= x (* (exact (floor (/ x 2))) 2))) (define (odd? x) (not (even? x)))