如题所述
那请问一下为什么下面两个程序的计算数字的精度是一样的?#includemain(){ double a; a=1.23546982+2.15239684; printf("the MPG is %lf", a);}#includemain(){ float a; a=1.23546982+2.15239684; printf("the MPG is %f", a);
用乘法去验证200001*200023 你试试看结果如何