This source file includes following definitions.
- main
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 #include <config.h>
20
21 #include <math.h>
22
23 #include "signature.h"
24 SIGNATURE_CHECK (jn, double, (int, double));
25
26 #include "macros.h"
27
28 volatile double x;
29 double y;
30
31 int
32 main ()
33 {
34
35 x = 3.8;
36 y = jn (0, x);
37 ASSERT (y >= -0.4025564102 && y <= -0.4025564101);
38
39
40 x = 3.8;
41 y = jn (1, x);
42 ASSERT (y >= 0.0128210029 && y <= 0.0128210030);
43
44
45 x = 3.8;
46 y = jn (2, x);
47 ASSERT (y >= 0.4093043064 && y <= 0.4093043065);
48
49
50 x = 3.8;
51 y = jn (3, x);
52 ASSERT (y >= 0.4180256354 && y <= 0.4180256355);
53
54
55 x = 3.8;
56 y = jn (4, x);
57 ASSERT (y >= 0.2507361705 && y <= 0.2507361706);
58
59
60 x = 3.8;
61 y = jn (5, x);
62 ASSERT (y >= 0.1098399867 && y <= 0.1098399868);
63
64
65 x = 3.8;
66 y = jn (6, x);
67 ASSERT (y >= 0.0383164262 && y <= 0.0383164263);
68
69
70 x = 3.8;
71 y = jn (7, x);
72 ASSERT (y >= 0.0111592540 && y <= 0.0111592541);
73
74
75 x = 3.8;
76 y = jn (8, x);
77 ASSERT (y >= 0.0027966149 && y <= 0.0027966150);
78
79
80 x = 3.8;
81 y = jn (9, x);
82 ASSERT (y >= 0.0006159669 && y <= 0.0006159670);
83
84
85 x = 3.8;
86 y = jn (10, x);
87 ASSERT (y >= 0.0001211233 && y <= 0.0001211234);
88
89 return 0;
90 }