use consistent data type for exponents. needs to be int8_t to pass to bit allocation.