BITMAP_BITS
offset = n / BITMAP_BITS;
offset = n / BITMAP_BITS;
bits = (b->top + 1) * BITMAP_BITS;
while (!(w & ((BITMAP_WTYPE)1 << (BITMAP_BITS - 1)))) {
shift = BITMAP_BITS - 8;
#define BITMAP_WMASK ((BITMAP_WTYPE)BITMAP_BITS - 1)
if (b->len == 0 || (n / BITMAP_BITS) > b->top)
return (b->d[n / BITMAP_BITS] >> (n & BITMAP_WMASK)) & 1;
nlen = (n / BITMAP_BITS) + 1;