[math-fun] Transforming integer D into integer E (exponentiation)