summaryrefslogtreecommitdiff
path: root/libm/float/j0tst.c
blob: e5a5607d7ab54395ebf129f8d574fa244b660d50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
float z[20] = {
2.4048254489898681641,
5.5200781822204589844,
8.6537275314331054687,
11.791533470153808594,
14.930917739868164062,
18.071063995361328125,
21.211637496948242188,
24.352472305297851563,
27.493478775024414062,
30.634607315063476562,
33.775821685791015625,
36.9170989990234375,
40.0584259033203125,
43.19979095458984375,
46.3411865234375,
49.482608795166015625,
52.624050140380859375,
55.76551055908203125,
58.906982421875,
62.04846954345703125,
};

/* #if ANSIC */
#if __STDC__
float j0f(float);
#else
float j0f();
#endif

int main()
{
float y;
int i;

for (i = 0; i< 20; i++)
  {
    y = j0f(z[i]);
    printf("%.9e\n", y);
  }
exit(0);
}