HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
7f8ad91
)
SRFI-60: Reimplement 'rotate-bit-field' on inums to be more portable.
author
Mark H Weaver
<mhw@netris.org>
Wed, 12 Mar 2014 00:34:28 +0000
(20:34 -0400)
committer
Mark H Weaver
<mhw@netris.org>
Wed, 12 Mar 2014 01:39:26 +0000
(21:39 -0400)
* libguile/srfi-60.c (scm_srfi60_rotate_bit_field): Avoid division by
zero in the (start == end) case. Rewrite inum case to work with
unsigned integers in two's complement format.
* test-suite/tests/srfi-60.test ("rotate-bit-field"): Add more tests.
No differences found