userspace code: roundup power of 2
userspace code: ffs and fls
user code: another version of roundup power of 2
user code: calculate lowest/highest set bit value