diff --git a/doc/ref/ChangeLog b/doc/ref/ChangeLog index 43692dfae..04656cd43 100644 --- a/doc/ref/ChangeLog +++ b/doc/ref/ChangeLog @@ -1,9 +1,20 @@ 2003-05-10 Kevin Ryde + * scheme-data.texi (Reals and Rationals): Fix typo @result{#f}, and + put @result outside @code. + + * scheme-data.texi (Bitwise Operations): Note negatives are treated as + infinite precision twos complement. Revise `ash' to emphasise this + for right shifts of negatives. Describe integer-length behaviour on + negatives. Add `...' to logand, logior, logxor since they take + multiple parameters. + * scheme-control.texi (Handling Errors): Revise C support section to get index entries, and clarify parameters. Remove scm_regex_error, no longer exists and wasn't available to applications. + * scheme-control.texi (Handling Errors): Index entries for error keys. + 2003-05-08 Kevin Ryde * scheme-data.texi (Bitwise Operations): Fix lognot to ones-complement. diff --git a/libguile/ChangeLog b/libguile/ChangeLog index c46ebc044..f904b6864 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -2,6 +2,13 @@ * numbers.c (scm_num_eq_p, scm_less_p): Don't pass NaN to mpz_cmp_d. + * numbers.c (scm_integer_length): On negative bignums, adjust + mpz_sizeinbase to account for it looking at absolute value where we + want ones-complement. + + * numbers.c (scm_gcd): In bignum/inum, don't pass yy==0 to mpz_gcd_ui + since we're only using the ulong return value, and x might not fit. + 2003-05-06 Dirk Herrmann * eval.c, eval.h, read.c, read.h (scm_sym_dot): Moved from eval to