summaryrefslogtreecommitdiff
path: root/libguile/srfi-60.c
Commit message (Expand)AuthorAgeFilesLines
* SRFI-60: Reimplement 'rotate-bit-field' on inums to be more portable....* 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. Mark H Weaver2014-03-111-19/+41
* Fix the SRFI 60 copy-bit documentation.Rob Browning2012-01-091-2/+2
* move srfi-1 and srfi-60 C impl to libguile, without public C api...* libguile/srfi-1.c: * libguile/srfi-1.h: * libguile/srfi-60.c: * libguile/srfi-60.h: * libguile/ChangeLog-srfi: Move here, from the srfi/ dir. The C API is internal. Add API to register the extensions, called by init.c. * libguile/init.c: Verily, register srfi extensions. * libguile/Makefile.am: Add srfi files. * module/srfi/srfi-1.scm: * module/srfi/srfi-60.scm: Update load-extension invocation. * Makefile.am: * configure.ac: Remove srfi/ dir. * test-suite/standalone/Makefile.am: * test-suite/standalone/test-srfi-1.c: Remove srfi-1 C test, we don't support this API any more. Andy Wingo2010-09-121-0/+438