Write/Print Floating Point
printf("x=%e, y=%e\n", x, y);
printf("x=%E, y=%E\n", x, y);
printf("x=%f, y=%f\n", x, y);
printf("x=%g, y=%g\n", x, y);
printf("v=%e, w=%e\n", v, w);
printf("v=%E, w=%E\n", v, w);
printf("v=%f, w=%f\n", v, w);
printf("v=%g, w=%g\n", v, w);
x=4.249070e+01, y=3.887200e-12
x=4.249070E+01, y=3.887200E-12
v=-5.523289e+01, w=-8.430027e+18
v=-5.523289E+01, w=-8.430027E+18
v=-55.232891, w=-8430026690000000000.000000
v=-55.2329, w=-8.43003e+18
This is program pg80.c.