From: Guillermo J. Rozas Date: Thu, 9 Nov 1989 22:07:48 +0000 (+0000) Subject: Fix bug in *, t he call to reduce was incorrect. X-Git-Tag: 20090517-FFI~11693 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=04e490d764a84176d2e32fa8b421653efdf90ce5;p=mit-scheme.git Fix bug in *, t he call to reduce was incorrect. --- diff --git a/v7/src/runtime/arith.scm b/v7/src/runtime/arith.scm index b8577944f..f285d0efc 100644 --- a/v7/src/runtime/arith.scm +++ b/v7/src/runtime/arith.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/arith.scm,v 1.7 1989/10/31 05:06:08 cph Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/arith.scm,v 1.8 1989/11/09 22:07:04 jinx Exp $ Copyright (c) 1989 Massachusetts Institute of Technology @@ -1556,7 +1556,8 @@ MIT in each case. |# (else (complex:* (car zs) (complex:* (cadr zs) - (reduce complex:+ 1 (cddr zs))))))) + (reduce complex:* 1 (cddr zs))))))) + (define (- z1 . zs) (cond ((null? zs) (complex:negate z1)) ((null? (cdr zs)) (complex:- z1 (car zs))) diff --git a/v7/src/runtime/version.scm b/v7/src/runtime/version.scm index 6e386a7dd..0009b8239 100644 --- a/v7/src/runtime/version.scm +++ b/v7/src/runtime/version.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/version.scm,v 14.65 1989/11/09 03:45:06 gjs Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/version.scm,v 14.66 1989/11/09 22:07:48 jinx Exp $ Copyright (c) 1988, 1989 Massachusetts Institute of Technology @@ -45,7 +45,7 @@ MIT in each case. |# '())) (add-system! microcode-system) (add-event-receiver! event:after-restore snarf-microcode-version!) - (add-identification! "Runtime" 14 65)) + (add-identification! "Runtime" 14 66)) (define microcode-system) (define (snarf-microcode-version!)