guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Further 64 bit bits.


From: Rob Browning
Subject: Re: Further 64 bit bits.
Date: Fri, 14 Sep 2001 00:42:05 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7

Rob Browning <address@hidden> writes:

>   FAIL: numbers.test: gcd: (fixnum-min n): n = fixnum-min

OK, I think I may have found the problem.  Could someone double check
to make sure this is a reasonable fix for a "> 32-bit wide fixnum"
arch? (of course we may need a more general fix later...)

>From numbers.c's gcd function:

      } else {
-       int k = 1;
+       long k = 1;
        long t;

        /* Determine a common factor 2^k */
        while (!(1 & (u | v))) {
          k <<= 1;
          u >>= 1;
          v >>= 1;
        }

With that change "make check" runs to completion with no warnings, but
still claims failure.  I don't know why yet...

  Testing libguile/guile ...
  with GUILE_LOAD_PATH=.:./test-suite
  with LTDL_LIBRARY_PATH=/home/rlb/guile-1.5.2.hacked/srfi:
  FAIL: check-guile
  ===================
  1 of 1 tests failed
  ===================
  make[2]: *** [check-TESTS] Error 1
  make[2]: Leaving directory `/home/rlb/guile-1.5.2.hacked'
  make[1]: *** [check-am] Error 2
  make[1]: Leaving directory `/home/rlb/guile-1.5.2.hacked'
  make: *** [check-recursive] Error 1

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD



reply via email to

[Prev in Thread] Current Thread [Next in Thread]