A bit array (aka bitset, bitmap, bit vector) API for numeric types