home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_300
/
334_02
/
mscbug.c
< prev
next >
Wrap
Text File
|
1991-02-05
|
292b
|
13 lines
#include <stdio.h>
main()
{
double x;
printf("look at the fourth, fifth and sixth columns\n");
printf("%%e\t\t %%f\t\t %%g\t %%.g\t %%.1g\t %%.2g\t %%.3g\n\n");
for ( x = 1e-6; x < 1e+4; x *= 10.0 )
printf("%e\t %f\t %g\t %.g\t %.1g\t %.2g\t %.3g\n",
x,x,x,x,x,x,x);
}