#| -*-Scheme-*-
-$Id: 6001.pkg,v 1.9 1994/01/08 21:37:20 gjr Exp $
+$Id: 6001.pkg,v 1.10 1995/03/06 23:32:39 cph Exp $
-Copyright (c) 1991-1994 Massachusetts Institute of Technology
+Copyright (c) 1991-95 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
ceiling
complex?
cos
+ dec
denominator
even?
exact->inexact
expt
floor
gcd
+ inc
inexact->exact
inexact?
integer?
#| -*-Scheme-*-
-$Id: arith.scm,v 1.4 1993/08/12 06:56:37 cph Exp $
+$Id: arith.scm,v 1.5 1995/03/06 23:32:34 cph Exp $
-Copyright (c) 1989-93 Massachusetts Institute of Technology
+Copyright (c) 1989-95 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(define (odd? n)
(not (even? n)))
+
+(define (inc z)
+ (+ z 1))
+
+(define (dec z)
+ (- z 1))
\f
(define (= . zs)
(reduce-comparator real:= zs '=))