From: Stephen Adams Date: Tue, 8 Jul 1997 03:07:06 +0000 (+0000) Subject: Fixed thinko in FIXNUM->FLONUM. X-Git-Tag: 20090517-FFI~5083 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=cc7b43404fb48571014d9953e4725467a74d82db;p=mit-scheme.git Fixed thinko in FIXNUM->FLONUM. --- diff --git a/v7/src/microcode/fixnum.c b/v7/src/microcode/fixnum.c index 6424a25d9..2e8247cca 100644 --- a/v7/src/microcode/fixnum.c +++ b/v7/src/microcode/fixnum.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: fixnum.c,v 9.40 1996/07/20 22:36:00 adams Exp $ +$Id: fixnum.c,v 9.41 1997/07/08 03:07:06 adams Exp $ Copyright (c) 1987-96 Massachusetts Institute of Technology @@ -356,6 +356,6 @@ Equivalent to (INTEGER->FLONUM FIXNUM 2)") { PRIMITIVE_HEADER (1); { - PRIMITIVE_RETURN (FIXNUM_TO_FLONUM (arg_fixnum (1))); + PRIMITIVE_RETURN (double_to_flonum ((double) (arg_fixnum (1)))); } }