projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1df7e26
)
Fixed thinko in FIXNUM->FLONUM.
author
Stephen Adams
<edu/mit/csail/zurich/adams>
Tue, 8 Jul 1997 03:07:06 +0000
(
03:07
+0000)
committer
Stephen Adams
<edu/mit/csail/zurich/adams>
Tue, 8 Jul 1997 03:07:06 +0000
(
03:07
+0000)
v7/src/microcode/fixnum.c
patch
|
blob
|
history
diff --git
a/v7/src/microcode/fixnum.c
b/v7/src/microcode/fixnum.c
index 6424a25d9932501dc07f8bf32f3a53916edc2d23..2e8247cca3a19b4e969f36a3e1c8e4a0807be7fb 100644
(file)
--- a/
v7/src/microcode/fixnum.c
+++ b/
v7/src/microcode/fixnum.c
@@
-1,6
+1,6
@@
/* -*-C-*-
-$Id: fixnum.c,v 9.4
0 1996/07/20 22:36:00
adams Exp $
+$Id: fixnum.c,v 9.4
1 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)
)));
}
}