/* * "floating point is strange", part 1 */ #include int main(void) { for (float f = 0.0; f != 1.0; f+=.1) { printf("%12.10f\n", f); } return 0; }