1 | 163
|
---|
2 | 166
|
---|
3 | 4
|
---|
4 | 16
|
---|
5 | 8
|
---|
6 | 2
|
---|
7 | 4
|
---|
8 | 2
|
---|
9 | 2
|
---|
10 | 1
|
---|
11 | 0
|
---|
12 | 0
|
---|
13 | 0
|
---|
14 | 1
|
---|
15 | 1
|
---|
16 | 2
|
---|
17 | -3
|
---|
18 | -2
|
---|
19 | 1
|
---|
20 | 0
|
---|
21 | 2
|
---|
22 | 131072
|
---|
23 | 29
|
---|
24 | 33
|
---|
25 | 49
|
---|
26 | 1
|
---|
27 | 1
|
---|
28 | 0
|
---|
29 | 0
|
---|
30 | 1
|
---|
31 | 1
|
---|
32 | 1
|
---|
33 | 2
|
---|
34 | 3
|
---|
35 | 1
|
---|
36 | 58
|
---|
37 | 2
|
---|
38 | 60
|
---|
39 | 1
|
---|
40 | 256
|
---|
41 | 16
|
---|
42 | 62
|
---|
43 | 4
|
---|
44 | 29
|
---|
45 | 5
|
---|
46 | -4
|
---|
47 | 4
|
---|
48 | 1
|
---|
49 | 32
|
---|
50 | 32
|
---|
51 | 1
|
---|
52 | 1
|
---|
53 | 32
|
---|
54 | 20
|
---|
55 | 1,i+=2
|
---|
56 | 30
|
---|
57 | 1,j+=2
|
---|
58 | 20
|
---|
59 | 1,i+=2
|
---|
60 | 30
|
---|
61 | 1,j+=2
|
---|
62 | ./arith.tests: line 108: 1 ? 20 : x+=2: attempted assignment to non-variable (error token is "+=2")
|
---|
63 | 20
|
---|
64 | 6
|
---|
65 | 6,5,3
|
---|
66 | 263
|
---|
67 | 255
|
---|
68 | 255
|
---|
69 | 127
|
---|
70 | 36
|
---|
71 | 40
|
---|
72 | 10
|
---|
73 | 10
|
---|
74 | 10
|
---|
75 | 10
|
---|
76 | 10
|
---|
77 | 10
|
---|
78 | 36
|
---|
79 | 36
|
---|
80 | 62
|
---|
81 | 63
|
---|
82 | ./arith.tests: line 143: 3425#56: invalid arithmetic base (error token is "3425#56")
|
---|
83 | 0
|
---|
84 | ./arith.tests: line 149: 7 = 43 : attempted assignment to non-variable (error token is "= 43 ")
|
---|
85 | ./arith.tests: line 150: 2#44: value too great for base (error token is "2#44")
|
---|
86 | ./arith.tests: line 151: 44 / 0 : division by 0 (error token is " ")
|
---|
87 | ./arith.tests: line 152: let: jv += $iv: syntax error: operand expected (error token is "$iv")
|
---|
88 | ./arith.tests: line 153: jv += $iv : syntax error: operand expected (error token is "$iv ")
|
---|
89 | ./arith.tests: line 154: let: rv = 7 + (43 * 6: missing `)' (error token is "6")
|
---|
90 | ./arith.tests: line 158: 0#4: invalid number (error token is "0#4")
|
---|
91 | ./arith.tests: line 159: 2#110#11: invalid number (error token is "2#110#11")
|
---|
92 | abc
|
---|
93 | def
|
---|
94 | ghi
|
---|
95 | ok
|
---|
96 | 6
|
---|
97 | 1
|
---|
98 | 0
|
---|
99 | ./arith.tests: line 177: 4 + : syntax error: operand expected (error token is " ")
|
---|
100 | 16
|
---|
101 | ./arith.tests: line 182: 4 ? : 3 + 5 : expression expected (error token is ": 3 + 5 ")
|
---|
102 | ./arith.tests: line 183: 1 ? 20 : `:' expected for conditional expression (error token is " ")
|
---|
103 | ./arith.tests: line 184: 4 ? 20 : : expression expected (error token is " ")
|
---|
104 | 9
|
---|
105 | ./arith.tests: line 190: 0 && B=42 : attempted assignment to non-variable (error token is "=42 ")
|
---|
106 | 9
|
---|
107 | ./arith.tests: line 193: 1 || B=88 : attempted assignment to non-variable (error token is "=88 ")
|
---|
108 | 9
|
---|
109 | 0
|
---|
110 | 9
|
---|
111 | 0
|
---|
112 | 9
|
---|
113 | 1
|
---|
114 | 9
|
---|
115 | 7
|
---|
116 | 7
|
---|
117 | 4
|
---|
118 | 32767
|
---|
119 | 32768
|
---|
120 | 131072
|
---|
121 | 2147483647
|
---|
122 | 1
|
---|
123 | 4
|
---|
124 | 4
|
---|
125 | 5
|
---|
126 | 5
|
---|
127 | 4
|
---|
128 | 3
|
---|
129 | 3
|
---|
130 | 4
|
---|
131 | 4
|
---|
132 | 7
|
---|
133 | ./arith.tests: line 241: 7-- : syntax error: operand expected (error token is " ")
|
---|
134 | ./arith.tests: line 243: --x=7 : attempted assignment to non-variable (error token is "=7 ")
|
---|
135 | ./arith.tests: line 244: ++x=7 : attempted assignment to non-variable (error token is "=7 ")
|
---|
136 | ./arith.tests: line 246: x++=7 : attempted assignment to non-variable (error token is "=7 ")
|
---|
137 | ./arith.tests: line 247: x--=7 : attempted assignment to non-variable (error token is "=7 ")
|
---|
138 | 4
|
---|
139 | 7
|
---|
140 | -7
|
---|
141 | 7
|
---|
142 | 7
|
---|
143 | ./arith1.sub: line 2: 4-- : syntax error: operand expected (error token is " ")
|
---|
144 | ./arith1.sub: line 3: 4++ : syntax error: operand expected (error token is " ")
|
---|
145 | ./arith1.sub: line 4: 4 -- : syntax error: operand expected (error token is " ")
|
---|
146 | ./arith1.sub: line 5: 4 ++ : syntax error: operand expected (error token is " ")
|
---|
147 | 1
|
---|
148 | 2
|
---|
149 | 1
|
---|
150 | 2
|
---|
151 | 6
|
---|
152 | 3
|
---|
153 | 7
|
---|
154 | 4
|
---|
155 | 0
|
---|
156 | 3
|
---|
157 | 7
|
---|
158 | 2
|
---|
159 | -2
|
---|
160 | 1
|
---|
161 | ./arith1.sub: line 35: ((: ++ : syntax error: operand expected (error token is " ")
|
---|
162 | 7
|
---|
163 | 7
|
---|
164 | ./arith1.sub: line 38: ((: -- : syntax error: operand expected (error token is " ")
|
---|
165 | 7
|
---|
166 | 7
|
---|
167 | 7
|
---|
168 | 7
|
---|
169 | 1
|
---|
170 | 2
|
---|
171 | 1
|
---|
172 | 2
|
---|
173 | 1
|
---|
174 | 0
|
---|
175 | 5
|
---|
176 | 1
|
---|
177 | 6
|
---|
178 | 2
|
---|
179 | 3
|
---|
180 | 1
|
---|
181 | 4
|
---|
182 | 0
|
---|
183 | ./arith2.sub: line 33: ((: -- : syntax error: operand expected (error token is " ")
|
---|
184 | -7
|
---|
185 | -7
|
---|
186 | ./arith2.sub: line 37: ((: ++ : syntax error: operand expected (error token is " ")
|
---|
187 | 7
|
---|
188 | 7
|
---|
189 | -7
|
---|
190 | -7
|
---|
191 | 7
|
---|
192 | 7
|
---|
193 | 8 12
|
---|
194 | ./arith.tests: line 268: ((: x=9 y=41 : syntax error in expression (error token is "y=41 ")
|
---|
195 | ./arith.tests: line 272: a b: syntax error in expression (error token is "b")
|
---|
196 | ./arith.tests: line 273: ((: a b: syntax error in expression (error token is "b")
|
---|
197 | 42
|
---|
198 | 42
|
---|
199 | 42
|
---|
200 | 42
|
---|
201 | 42
|
---|
202 | 42
|
---|
203 | ./arith.tests: line 284: b[c]d: syntax error in expression (error token is "d")
|
---|