看如下代码,分析输出:
void testDoubleCompare() { float a = (float)0.1; float b = (float)0.1; float c = (float)0.1; double d = (double)0.1; //同样精度,同样字面大小