A collection of bit manipulation routines for C++