Cygwin: utils: cygpath: add -r option to emit paths with root-local prefix
[newlib-cygwin.git] / libgloss / testsuite / libgloss.all / float.c
blobbbe41ca7e62cba971e9d763d05f1e725ce157a17
1 #include <stdio.h>
3 main()
5 float a,b,c;
7 a = 0.11;
8 b = 3.12;
9 c = a+b;
11 printf ("Print float, result with 'f' = %f\n", c);
12 printf ("Print float, result with 'e' = %e\n", c);
13 printf ("Print float, result with 'E' = %E\n", c);
14 printf ("Print float, result with 'g' = %g\n", c);
15 printf ("Print float, result with 'G' = %G\n", c);
17 pass ("float");
18 fflush (stdout);