I need to calculate fractional power of a number, but its giving me NaN.
double a = -25045.780485516327; double b = 0.04024792612003285; Math.pow(a, p); // o