Input base, then exponent.
Uses the fact that a^b=e^(b*ln(a)) The full result gives more digits, but has a slight bit of inaccuracy, the result is a compromise (less digits, higher accuracy). Also doesn't support negative bases. Feel free to use this as you wish.