c++ - how can I calculate exponential fraction -
this question has answer here:
- exponential operator in c++ 4 answers
if want calculate 5.24^3.2478. base , exponential fractional. there function realize it?
the base of frexp 2.
as mentioned c++ in tag, try 1 of 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 power exponent.
see reference here.
Comments
Post a Comment