Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double d = 8.19999999999999999999;
- cout << d << "n";
- cout << fixed << d << "n";
- cout << setprecision(15) << d << "n";
- cout << fixed << setprecision(15) << d << "n";
- 8.2
- 8.200000
- 8.199999999999999
- 8.199999999999999
- 8.2
- 8.200000
- 8.200000000000000
- 8.200000000000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement