Fix up bit-indexed integer operations.
authorTaylor R Campbell <campbell@mumble.net>
Wed, 8 Jun 2011 15:55:09 +0000 (15:55 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Wed, 8 Jun 2011 15:55:09 +0000 (15:55 +0000)
commit03ef4acd768f46d58a461e81d705d5a9edc413c8
tree42faf836131947aaa0df3d5a6ec3d26c83cf1730
parent6bfc9fee84678b0a1802df663f21ca3faf38233b
Fix up bit-indexed integer operations.

. Fix sense of BIT-SET?.
. Add BIT-CLEAR?, for symmetry.
. Export forgotten TOGGLE-BIT.
. Add some tests for these operations.
src/runtime/integer-bits.scm
src/runtime/runtime.pkg
tests/runtime/test-integer-bits.scm