Thank you alkis, doing this gives the following result:
Code:
a: 1074790400.00 b: 4.00
This resolved the 4.01 / 4.00 issue.
So this leaves only the question on why storing the pow() result in a variable of type double prints something completely different than printing the result of pow() directly?
Quote:
Originally Posted by alkis
|