If I want to calculate 5.24^3.2478. The base and exponential is fractional. Is there some function to realize it?
the base of frexp is 2.
答案 0 :(得分:-1)
As you mentioned C++ in the tag, try one of this method:
double pow (double base , double exponent);
float pow (float base , float exponent);
long double pow (long double base, long double exponent);
double pow (Type1 base , Type2 exponent); // additional overloads
Returns base
raised to the power exponent
.
See reference here.