stdxBitManip.h Classes and Functions
Helper functions for doing various bit manipulations including log base 2 and bit field masking.Functions
- isPow2 (uint32_t val)
- pow2himasked (uint32_t val, uint32_t pow2)
- pow2lomasked (uint32_t val, uint32_t pow2)
- pow2roundUp (uint32_t val)
- lg (uint32_t val)
- createFieldMask (uint32_t sizeInBits, uint32_t shift)