misc: update Changelog and NOTICE; remove BUGS and TODO
[nit.git] / c_src / math._sep.c
1 /* This C file is generated by NIT to compile module math. */
2 #include "math._sep.h"
3 val_t math___Int___rand(val_t self) {
4 struct trace_t trace = {NULL, NULL, 19, LOCATE_math___Int___rand};
5 val_t *variable = NULL;
6 struct WBT_ **closurevariable = NULL;
7 trace.prev = tracehead; tracehead = &trace;
8 trace.file = LOCATE_math;
9 tracehead = trace.prev;
10 return TAG_Int(kernel_Int_Int_rand_0(UNTAG_Int( self)));
11 }
12 val_t math___Float___sqrt(val_t self) {
13 struct trace_t trace = {NULL, NULL, 23, LOCATE_math___Float___sqrt};
14 val_t *variable = NULL;
15 struct WBT_ **closurevariable = NULL;
16 trace.prev = tracehead; tracehead = &trace;
17 trace.file = LOCATE_math;
18 tracehead = trace.prev;
19 return BOX_Float(kernel_Float_Float_sqrt_0(UNBOX_Float( self)));
20 }
21 val_t math___Float___cos(val_t self) {
22 struct trace_t trace = {NULL, NULL, 24, LOCATE_math___Float___cos};
23 val_t *variable = NULL;
24 struct WBT_ **closurevariable = NULL;
25 trace.prev = tracehead; tracehead = &trace;
26 trace.file = LOCATE_math;
27 tracehead = trace.prev;
28 return BOX_Float(kernel_Float_Float_cos_0(UNBOX_Float( self)));
29 }
30 val_t math___Float___sin(val_t self) {
31 struct trace_t trace = {NULL, NULL, 25, LOCATE_math___Float___sin};
32 val_t *variable = NULL;
33 struct WBT_ **closurevariable = NULL;
34 trace.prev = tracehead; tracehead = &trace;
35 trace.file = LOCATE_math;
36 tracehead = trace.prev;
37 return BOX_Float(kernel_Float_Float_sin_0(UNBOX_Float( self)));
38 }
39 val_t math___Float___tan(val_t self) {
40 struct trace_t trace = {NULL, NULL, 26, LOCATE_math___Float___tan};
41 val_t *variable = NULL;
42 struct WBT_ **closurevariable = NULL;
43 trace.prev = tracehead; tracehead = &trace;
44 trace.file = LOCATE_math;
45 tracehead = trace.prev;
46 return BOX_Float(kernel_Float_Float_tan_0(UNBOX_Float( self)));
47 }
48 val_t math___Float___acos(val_t self) {
49 struct trace_t trace = {NULL, NULL, 27, LOCATE_math___Float___acos};
50 val_t *variable = NULL;
51 struct WBT_ **closurevariable = NULL;
52 trace.prev = tracehead; tracehead = &trace;
53 trace.file = LOCATE_math;
54 tracehead = trace.prev;
55 return BOX_Float(kernel_Float_Float_acos_0(UNBOX_Float( self)));
56 }
57 val_t math___Float___asin(val_t self) {
58 struct trace_t trace = {NULL, NULL, 28, LOCATE_math___Float___asin};
59 val_t *variable = NULL;
60 struct WBT_ **closurevariable = NULL;
61 trace.prev = tracehead; tracehead = &trace;
62 trace.file = LOCATE_math;
63 tracehead = trace.prev;
64 return BOX_Float(kernel_Float_Float_asin_0(UNBOX_Float( self)));
65 }
66 val_t math___Float___atan(val_t self) {
67 struct trace_t trace = {NULL, NULL, 29, LOCATE_math___Float___atan};
68 val_t *variable = NULL;
69 struct WBT_ **closurevariable = NULL;
70 trace.prev = tracehead; tracehead = &trace;
71 trace.file = LOCATE_math;
72 tracehead = trace.prev;
73 return BOX_Float(kernel_Float_Float_atan_0(UNBOX_Float( self)));
74 }
75 val_t math___Float___pow(val_t self, val_t param0) {
76 struct trace_t trace = {NULL, NULL, 31, LOCATE_math___Float___pow};
77 val_t *variable = NULL;
78 struct WBT_ **closurevariable = NULL;
79 trace.prev = tracehead; tracehead = &trace;
80 trace.file = LOCATE_math;
81 tracehead = trace.prev;
82 return BOX_Float(kernel_Float_Float_pow_1(UNBOX_Float( self), UNBOX_Float( param0)));
83 }
84 val_t math___Float___log(val_t self) {
85 struct trace_t trace = {NULL, NULL, 32, LOCATE_math___Float___log};
86 val_t *variable = NULL;
87 struct WBT_ **closurevariable = NULL;
88 trace.prev = tracehead; tracehead = &trace;
89 trace.file = LOCATE_math;
90 tracehead = trace.prev;
91 return BOX_Float(kernel_Float_Float_log_0(UNBOX_Float( self)));
92 }
93 val_t math___Float___exp(val_t self) {
94 struct trace_t trace = {NULL, NULL, 33, LOCATE_math___Float___exp};
95 val_t *variable = NULL;
96 struct WBT_ **closurevariable = NULL;
97 trace.prev = tracehead; tracehead = &trace;
98 trace.file = LOCATE_math;
99 tracehead = trace.prev;
100 return BOX_Float(kernel_Float_Float_exp_0(UNBOX_Float( self)));
101 }
102 val_t math___Float___rand(val_t self) {
103 struct trace_t trace = {NULL, NULL, 35, LOCATE_math___Float___rand};
104 val_t *variable = NULL;
105 struct WBT_ **closurevariable = NULL;
106 trace.prev = tracehead; tracehead = &trace;
107 trace.file = LOCATE_math;
108 tracehead = trace.prev;
109 return BOX_Float(kernel_Float_Float_rand_0(UNBOX_Float( self)));
110 }
111 val_t math___Object___atan2(val_t self, val_t param0, val_t param1) {
112 struct trace_t trace = {NULL, NULL, 38, LOCATE_math___Object___atan2};
113 val_t *variable = NULL;
114 struct WBT_ **closurevariable = NULL;
115 trace.prev = tracehead; tracehead = &trace;
116 trace.file = LOCATE_math;
117 tracehead = trace.prev;
118 return BOX_Float(kernel_Any_Any_atan2_2( self, UNBOX_Float( param0), UNBOX_Float( param1)));
119 }
120 val_t math___Object___pi(val_t self) {
121 struct trace_t trace = {NULL, NULL, 39, LOCATE_math___Object___pi};
122 val_t *variable = NULL;
123 struct WBT_ **closurevariable = NULL;
124 trace.prev = tracehead; tracehead = &trace;
125 trace.file = LOCATE_math;
126 tracehead = trace.prev;
127 return BOX_Float(kernel_Any_Any_pi_0( self));
128 }
129 void math___Object___srand_from(val_t self, val_t param0) {
130 struct trace_t trace = {NULL, NULL, 40, LOCATE_math___Object___srand_from};
131 val_t *variable = NULL;
132 struct WBT_ **closurevariable = NULL;
133 trace.prev = tracehead; tracehead = &trace;
134 trace.file = LOCATE_math;
135 kernel_Any_Any_srand_from_1( self, UNTAG_Int( param0));
136 tracehead = trace.prev;
137 return;
138 }
139 void math___Object___srand(val_t self) {
140 struct trace_t trace = {NULL, NULL, 41, LOCATE_math___Object___srand};
141 val_t *variable = NULL;
142 struct WBT_ **closurevariable = NULL;
143 trace.prev = tracehead; tracehead = &trace;
144 trace.file = LOCATE_math;
145 kernel_Any_Any_srand_0( self);
146 tracehead = trace.prev;
147 return;
148 }