7 function test\calc1() : array {
8 let numerator = 3 * 5 + 2;
10 return div(numerator, denominator) as to_array(div,
16 function test\calc2() : array {
17 let numerator = 4 + 5 * 2;
19 return div(numerator, denominator) as to_array(div,
25 function test\calc3() : array {
26 let numerator = -1 + 2 - 3 * 2;
28 return div(numerator, denominator) as to_array(div,
34 function test\calc4() : array {
35 let numerator = 1 * 5 / 5 * -1 / -1 * 10 / 5 + 4 * 2;
37 return div(numerator, denominator) as to_array(div,
43 function test\calc5() : array {
44 let numerator = 5 % 3;
46 return div(numerator, denominator) as to_array(div,
52 function test\calc6() : array {
53 let numerator = 5 % 3 + 1;
55 return div(numerator, denominator) as to_array(div,
61 function test\calc7() : array {
62 let numerator = 5 % (3 + 1);
64 return div(numerator, denominator) as to_array(div,
70 function test\calc8() : array {
71 let numerator = !0 + !0 + !0;
73 return div(numerator, denominator) as to_array(div,
79 function test\calc9() : array {
80 let numerator = 1 && 2;
82 return div(numerator, denominator) as to_array(div,
88 function test\calc10() : array {
89 let numerator = (1 | 2 | 4) & ~3;
91 return div(numerator, denominator) as to_array(div,
97 function test\calc11() : array {
98 let numerator = 1 + (1 + 1 < 2);
100 return div(numerator, denominator) as to_array(div,
106 function test\calc12() : array {
107 let numerator = 1 + (1 + 1 < 3);
109 return div(numerator, denominator) as to_array(div,