changes.
[IRC.git] / Robust / src / Runtime / math.c
1 #include "runtime.h"
2 #include "math.h"
3 #include "structdefs.h"
4 #include "methodheaders.h"
5
6 #ifdef D___Math______cos____D
7 double CALL11(___Math______cos____D, double ___a___, double ___a___) {
8   return cos(___a___);
9 }
10 #endif
11
12 #ifdef D___Math______sin____D
13 double CALL11(___Math______sin____D, double ___a___, double ___a___) {
14   return sin(___a___);
15 }
16 #endif
17
18 #ifdef D___Math______tan____D
19 double CALL11(___Math______tan____D, double ___a___, double ___a___) {
20   return tan(___a___);
21 }
22 #endif
23
24 #ifdef D___Math______acos____D
25 double CALL11(___Math______acos____D, double ___a___, double ___a___) {
26   return acos(___a___);
27 }
28 #endif
29
30 #ifdef D___Math______asin____D
31 double CALL11(___Math______asin____D, double ___a___, double ___a___) {
32   return asin(___a___);
33 }
34 #endif
35
36 #ifdef D___Math______atan____D
37 double CALL11(___Math______atan____D, double ___a___, double ___a___) {
38   return atan(___a___);
39 }
40 #endif
41
42 #ifdef D___Math______atan2____D_D
43 double CALL22(___Math______atan2____D_D, double ___a___, double ___b___, double ___a___, double ___b___) {
44   return atan2(___a___,___b___);
45 }
46 #endif
47
48 #ifdef D___Math______log____D
49 double CALL11(___Math______log____D, double ___a___, double ___a___) {
50   return log(___a___);
51 }
52 #endif
53
54 #ifdef D___Math______exp____D
55 double CALL11(___Math______exp____D, double ___a___, double ___a___) {
56   return exp(___a___);
57 }
58 #endif
59
60 #ifdef D___Math______sqrt____D
61 double CALL11(___Math______sqrt____D, double ___a___, double ___a___) {
62   return sqrt(___a___);
63 }
64 #endif
65
66 #ifdef D___Math______pow____D_D
67 double CALL22(___Math______pow____D_D, double ___a___, double ___b___, double ___a___, double ___b___) {
68   return pow(___a___,___b___);
69 }
70 #endif
71
72 #ifdef D___Math______ceil____D
73 double CALL11(___Math______ceil____D, double ___a___, double ___a___) {
74   return ceil(___a___);
75 }
76 #endif
77
78 #ifdef D___Math______floor____D
79 double CALL11(___Math______floor____D, double ___a___, double ___a___) {
80   return floor(___a___);
81 }
82 #endif
83
84 #ifdef D___Math______cosf____F
85 float CALL11(___Math______cosf____F, float ___a___, float ___a___) {
86   return cosf(___a___);
87 }
88 #endif
89
90 #ifdef D___Math______sinf____F
91 float CALL11(___Math______sinf____F, float ___a___, float ___a___) {
92   return sinf(___a___);
93 }
94 #endif
95
96 #ifdef D___Math______expf____F
97 float CALL11(___Math______expf____F, float ___a___, float ___a___) {
98   return expf(___a___);
99 }
100 #endif
101
102 #ifdef D___Math______sqrtf____F
103 float CALL11(___Math______sqrtf____F, float ___a___, float ___a___) {
104   return sqrtf(___a___);
105 }
106 #endif
107
108 #ifdef D___Math______logf____F
109 float CALL11(___Math______logf____F, float ___a___, float ___a___) {
110   return logf(___a___);
111 }
112 #endif
113
114 #ifdef D___Math______powf____F_F
115 float CALL22(___Math______powf____F_F, float ___a___, float ___b___, float ___a___, float ___b___) {
116   return powf(___a___,___b___);
117 }
118 #endif
119
120 #ifdef D___Math______ceilf____F
121 float CALL11(___Math______ceilf____F, float ___a___, float ___a___) {
122   return ceilf(___a___);
123 }
124 #endif
125
126 #ifdef D___Math______IEEEremainder____F_F
127 float CALL22(___Math______IEEEremainder____F_F, float ___a___, float ___b___,  float ___a___, float ___b___) {
128   return fmod(___a___, ___b___);
129 }
130 #endif