raising from base and exponent from input and string initialization