From 474d450e95dc8b19fe7776c3f65a491944115c30 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 11 Aug 1988 19:54:25 +0000 Subject: [PATCH] (assemble-objects!) Never use / when doing integer arithmetic. Use quotient instead. --- v7/src/compiler/back/bittop.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/compiler/back/bittop.scm b/v7/src/compiler/back/bittop.scm index f6018e61a..b5a7e8609 100644 --- a/v7/src/compiler/back/bittop.scm +++ b/v7/src/compiler/back/bittop.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/back/bittop.scm,v 1.9 1988/06/14 08:09:54 cph Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/back/bittop.scm,v 1.10 1988/08/11 19:54:25 cph Exp $ Copyright (c) 1988 Massachusetts Institute of Technology @@ -115,7 +115,7 @@ MIT in each case. |# (define (assemble-objects! block) (let ((objects (queue->list *objects*)) - (bl (/ (bit-string-length block) scheme-object-width))) + (bl (quotient (bit-string-length block) scheme-object-width))) (let* ((ol (length objects)) (v (make-vector (+ ol bl)))) (write-bits! v scheme-object-width block) -- 2.25.1