1 #include <stdio.h>
2 
3 float
getfloat()4 getfloat() {
5 	static float	far[] = {
6 		3242.22f, -256.32L, 1467, 842U, 531.44f, -11.642, 0
7 	};
8 	static int	idx;
9 	return far[idx++];
10 }
11 
12 double
getdouble()13 getdouble() {
14 	static double	lar[] = {
15 		33.22, -426.22L, -2262, 547U, 241.22f, +333.66, 0
16 	};
17 	static int	idx;
18 	return lar[idx++];
19 }
20 
21 long double
getlongdouble()22 getlongdouble() {
23 	static long double	ldar[] = {
24 		136.322L, 35252.2, 352, 11LU, -4363.55f, 345214.222L, 0
25 	};
26 	static int	idx;
27 	return ldar[idx++];
28 }
29 
30 int
main()31 main() {
32 	float		f;
33 	double		d;
34 	long double	ld;
35 
36 	while ((f = getfloat()) != 0.0f) {
37 		printf("%f %f %Lf\n", f, getdouble(), getlongdouble());
38 	}
39 	return 0;
40 }
41 
42 
43