From a27cedb796a35c34d2767ae1622b091311d88bf6 Mon Sep 17 00:00:00 2001 From: Stephen Adams Date: Tue, 8 Jul 1997 06:25:59 +0000 Subject: [PATCH] Change integer_length_in_bits to return a fixnum if possible. --- v7/src/microcode/artutl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/microcode/artutl.c b/v7/src/microcode/artutl.c index 218fd71b0..3dee5cfc0 100644 --- a/v7/src/microcode/artutl.c +++ b/v7/src/microcode/artutl.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: artutl.c,v 1.14 1997/04/23 05:40:18 cph Exp $ +$Id: artutl.c,v 1.15 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 -- 2.25.1