See comment on setBitInWord().