From a743caa5cda48314cd83a861fc8d2f890499e417 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 27 Oct 1989 23:58:51 +0000 Subject: [PATCH] Fix typo in `real:min'. --- v7/src/runtime/arith.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/v7/src/runtime/arith.scm b/v7/src/runtime/arith.scm index fec31bd42..864650dbf 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.3 1989/10/27 07:25:24 cph Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/arith.scm,v 1.4 1989/10/27 23:58:51 cph Exp $ Copyright (c) 1989 Massachusetts Institute of Technology @@ -809,7 +809,8 @@ MIT in each case. |# (if (rat:< (flo:->rational x) y) x (rat:->flonum y))) (if (flonum? y) (if (rat:< x (flo:->rational y)) (rat:->flonum x) y) - (if (rat:< x y) y x)))) + (if (rat:< x y) x y)))) + (define (real:* x y) (cond ((flonum? x) (cond ((flonum? y) (flo:* x y)) -- 2.25.1