float a,b; b=2.0e20+1.0; a=b-2.0e20; printf("%f\n",a);
怎么能定义a,b 不改变b的数值然后得出结果等于1 可以将a,b改为long double 么??或者是怎么改?
将a定义为int a就行了。最后得到的结果就是整数。