double MathPow(double base, double exponent)
Returns the value of the base expression raised to the specified power
(exponent value).
指定された倍率(指数値)で基本式をべき乗した値を返します。
Parameters:
パラメータ:
base - Base value.
基本値。
exponent - Exponent value.
指数値
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
|