1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-21 20:20:24 +02:00
guile/module
Mark H Weaver a1c9ecf0a4 Fix 'fxbit-count' for negative arguments.
Reported by Göran Weinholt <goran@weinholt.se>.

* module/rnrs/arithmetic/fixnums.scm (fxbit-count): If the argument is
  negative, return the 'bitwise-not' of the result of 'logcount', as per
  R6RS.  Previously, 'fxbit-count' was identical to 'logcount'.

* test-suite/tests/r6rs-arithmetic-fixnums.test (fxbit-count): Add test.
2013-07-16 12:06:45 -04:00
..
ice-9 Print the faulty object upon invalid-keyword errors. 2013-06-04 12:08:02 +02:00
language Remove duplicate definitions of call/ec' and let/ec'. 2013-04-06 15:40:19 +02:00
oop Clarify the copyright status of GOOPS. 2013-01-26 15:41:05 +01:00
rnrs Fix 'fxbit-count' for negative arguments. 2013-07-16 12:06:45 -04:00
scripts Fix a couple of warnings. 2012-01-26 00:37:23 +01:00
srfi Add record type printer for srfi-41. 2013-04-07 12:44:31 -04:00
sxml Remove duplicate definitions of call/ec' and let/ec'. 2013-04-06 15:40:19 +02:00
system Consume a peeked EOF at the REPL. 2013-04-08 08:44:02 -04:00
texinfo texinfo plain-text: Use match' for stexi->plain-text'. 2013-03-22 22:09:05 +01:00
web web: uri-encode hexadecimal percent-encoding is now uppercase 2013-05-02 17:13:55 -04:00
Makefile.am build: Build and check (ice-9 popen) only when --enable-posix and HAVE_FORK. 2013-03-29 19:20:01 +01:00
rnrs.scm Add missing R6RS `open-file-input/output-port' procedure 2012-11-12 20:47:57 +01:00
statprof.scm add gcprof 2011-05-05 11:43:12 +02:00
texinfo.scm texinfo: Recognize `@:'. 2013-03-21 18:52:29 +01:00