[Top][All Lists]

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

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-92-gd36067

From: Mark H Weaver
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-92-gd360671
Date: Thu, 03 Oct 2013 23:09:22 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, stable-2.0 has been updated
       via  d360671c1cca335600079f1c5714572d1c2e676d (commit)
       via  1ea0803e9ea1d5afede0eff8175d0cba12bab49e (commit)
      from  d7794a9d07ba657a29f7e608c3e558c437806def (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d360671c1cca335600079f1c5714572d1c2e676d
Author: Mark H Weaver <address@hidden>
Date:   Thu Oct 3 14:25:51 2013 -0400

    Fix edge case in 'ash'.
    * libguile/numbers.c (left_shift_exact_integer): Fix edge case where
      N is -1 and count is SCM_I_FIXNUM_BIT-1 to return the most negative
      fixnum.  Previously this result was returned as a bignum.
    * test-suite/tests/numbers.test (ash): Add tests.

commit 1ea0803e9ea1d5afede0eff8175d0cba12bab49e
Author: Mark H Weaver <address@hidden>
Date:   Thu Oct 3 18:49:31 2013 -0400

    Revert "Fix edge case in 'ash'."
    This reverts commit 8df68898b9f6ba15171244f1f3549688f13d605f.


Summary of changes:
 libguile/numbers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libguile/numbers.c b/libguile/numbers.c
index 38c28a4..22b53a5 100644
--- a/libguile/numbers.c
+++ b/libguile/numbers.c
@@ -4999,7 +4999,7 @@ left_shift_exact_integer (SCM n, long count)
           mpz_mul_2exp (SCM_I_BIG_MPZ (result), SCM_I_BIG_MPZ (result),
           return scm_i_normbig (result);
-       }
+        }
   else if (SCM_BIGP (n))

GNU Guile

reply via email to

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