Meta interview question

To code a power function without the use of libraries