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:
77e27ff
)
Change integer_length_in_bits to return a fixnum if possible.
author
Stephen Adams
<edu/mit/csail/zurich/adams>
Tue, 8 Jul 1997 06:25:59 +0000
(06:25 +0000)
committer
Stephen Adams
<edu/mit/csail/zurich/adams>
Tue, 8 Jul 1997 06:25:59 +0000
(06:25 +0000)
v7/src/microcode/artutl.c
patch
|
blob
|
history
diff --git
a/v7/src/microcode/artutl.c
b/v7/src/microcode/artutl.c
index 218fd71b0888163b537af1ccb4cfdc522588dc35..3dee5cfc0004980b69b6fb4d72a2d311552ed325 100644
(file)
--- a/
v7/src/microcode/artutl.c
+++ b/
v7/src/microcode/artutl.c
@@
-1,6
+1,6
@@
/* -*-C-*-
-$Id: artutl.c,v 1.1
4 1997/04/23 05:40:18 cph
Exp $
+$Id: artutl.c,v 1.1
5 1997/07/08 06:25:59 adams
Exp $
Copyright (c) 1989-97 Massachusetts Institute of Technology
@@
-484,7
+484,7
@@
DEFUN (integer_length_in_bits, (n), SCHEME_OBJECT n)
(unsigned_long_length_in_bits ((n1 < 0) ? (- n1) : n1)));
}
else
- return (bignum_
length_in_bits (n
));
+ return (bignum_
to_integer (bignum_length_in_bits (n)
));
}
SCHEME_OBJECT