/* floaterr.c - 演示舍入错误 */ #include int main(void) { float a, b; b = 2.0e20 + 1.0; a = b - 2.0e20; printf("%f \n", a); return 0; }