RFC: return int from exponent instead of float; remove ilogb