public static double powQuick(double value,double power){
  if (USE_JDK_MATH) {
    return STRICT_MATH ? StrictMath.pow(value,power) : Math.pow(value,power);
  }
  return FastMath.exp(power * FastMath.logQuick(value));
}

public static double powQuick ( double value , double power ) { if ( USE_JDK_MATH ) { return STRICT_MATH ? StrictMath . pow ( value , power ) : Math . pow ( value , power ) ; } return FastMath . exp ( power * FastMath . logQuick ( value ) ) ; }
quick pow , with a max relative error of about 3 . 5e - 2 for | a ^ b | & lt ; 1e10 , of about 0 . 17 for | a ^ b | & lt ; 1e50 , and worse accuracy above .
