MathPow

2019/07/17 19:00
198

double MathPow( double base, double exponent)

ある値の累乗を返す

Parameters:
base - 基本値
exponent - 累乗
Sample:
double x=2.0,y=3.0,z;
z=MathPow(x,y);
Printf(x," to the power of “,y,” is ", z);
//Output: 2 to the power of 3 is 8

コメント