folks! I\'ve encountered a little problem: I\'m doing a simple addition with three double values. The result has a smaller precision than the used values.
d
Nothing seems to be wrong with the calculation as what the comments on your post said.
If you'd like to see more precision consider looking up setprecision()