I have this question because of the previous one. There I had a value 25.3999996185302734375 which was shown as 25.399999618530273 (without last 4 digits) in both Visual Studio 2010, Eclipse CDT, and gdb (just "print 25.3999996185302734375" in gdb and it will show 25.399999618530273).
Now, in gdb (and thus Eclipse CDT) I can issue
printf "%.20f\n", var
to view the value with more digits.
How do I do the same in Visual Studio - i.e., how do I change the precision of the inspected floating-point values?
I'm also curious if there's a way to change the default precision in both Visual Studio and Eclipse/gdb, because manually printing values is not that convenient.