xref: /original-bsd/old/dbx/tests/cc/float.c (revision ee109830)
1 /*
2  * Test of floats and doubles.
3  */
4 
5 double f(x)
6 double x;
7 {
8     return 3.14*x;
9 }
10 
11 main()
12 {
13     double x;
14     float y;
15 
16     y = 3.0;
17     x = f(y);
18     return 0;
19 }
20