[util] move exp_power() to more generic location. have some inline values there too