#| -*-Scheme-*-
-$Id: arith.scm,v 1.33 1995/11/03 22:44:19 adams Exp $
+$Id: arith.scm,v 1.34 1996/04/24 03:03:16 cph Exp $
-Copyright (c) 1989-94 Massachusetts Institute of Technology
+Copyright (c) 1989-96 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(define-integrable (int:bignum? object)
(object-type? (ucode-type big-fixnum) object))
-(define-integrable (int:->flonum n)
- (integer->flonum n #b10))
-
(define-integrable (make-ratnum n d)
(system-pair-cons (ucode-type ratnum) n d))
#| -*-Scheme-*-
-$Id: fixart.scm,v 1.1 1994/12/09 02:55:41 adams Exp $
+$Id: fixart.scm,v 1.2 1996/04/24 03:03:00 cph Exp $
-Copyright (c) 1988-1994 Massachusetts Institute of Technology
+Copyright (c) 1988-96 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(not (int:> x y)))
(define-integrable (int:>= x y)
- (not (int:< x y)))
\ No newline at end of file
+ (not (int:< x y)))
+
+(define-integrable (int:->flonum n)
+ ((ucode-primitive integer->flonum 2) n #b10))
\ No newline at end of file