如何在 C 语言(C99)中打印精度为 10 的 big double 值?
double d1 = 1100200300400500600.0000000001;
double d2 = 1100200300400500600.0000000001;
double d3 = d1 + d2;
printf("???", d3);
期望输出:2200400600801001200.0000000002
最佳答案
关于c - Printf big double value 在 C 中具有高精度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35651574/