Useful additions to repo, see bits.hpp