7 lines
87 B
C
Raw Normal View History

#include <math.h>
double pow(double x, double y)
{
return exp(y * log(x));
}