Use libm_alias_ldouble macros in sysdeps/ia64/fpu.
[glibc.git] / manual / stdio-fp.c
blobdb9480782dc12a34d6a959f94022d6b2788b5e16
1 /* This program is to generate one of the examples in stdio.texi. */
3 #include <stdio.h>
6 static void
7 print (double v)
9 printf ("|%13.4a|%13.4f|%13.4e|%13.4g|\n", v, v, v, v);
13 int
14 main (void)
16 print (0.0);
17 print (0.5);
18 print (1.0);
19 print (-1.0);
20 print (100.0);
21 print (1000.0);
22 print (10000.0);
23 print (12345.0);
24 print (100000.0);
25 print (123456.0);
27 return 0;