Hi all,
I am programing for my project which include calculating the power function and get stuck there.
The problem is, when number x raised to the power y with x, and y too large (i tested with x=180, y=150) the program can not calculate.
like: double result = pow(180, 150);
=>> It can not calculate.
Anybody know how to solve this problem, please help me.
Thanks a lot.
I am programing for my project which include calculating the power function and get stuck there.
The problem is, when number x raised to the power y with x, and y too large (i tested with x=180, y=150) the program can not calculate.
like: double result = pow(180, 150);
=>> It can not calculate.
Anybody know how to solve this problem, please help me.
Thanks a lot.
Comment