The C library function double pow(double x, double y) returns x raised to the power of y i.e. xy.
double pow(double x, double y)
#include #include int main () { printf("Value 8.0 ^ 3 = %lf\n", pow(8.0, 3)); printf("Value 3.05 ^ 1.98 = %lf", pow(3.05, 1.98)); return(0); }
Value 8.0 ^ 3 = 512.000000 Value 3.05 ^ 1.98 = 9.097324