SRFI-60

SRFI-60: Integers as bits

http://srfi.schemers.org/srfi-60/srfi-60.html

SRFI-60 is implemented in Chicken Gauche Guile MzScheme SCM SISC SLIB STklos Scheme48 Schluessel SigScheme


logand, bitwise-and, logior, bitwise-ior, logxor, bitwise-xor, lognot, bitwise-not

bitwise-if, bitwise-merge?, logtest any-bits-set??

logcount, bit-count, integer-length, log2-binary-factors?, first-set-bit?

logbit?, bit-set??, copy-bit

bit-field, copy-bit-field, ash, arithmetic-shift, rotate-bit-field?, reverse-bit-field?

integer->list?, list->integer?, booleans->integer?