File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ func intMul(a, b Int) Object {
310
310
if a < 0 {
311
311
absA = - a
312
312
}
313
- absB := a
313
+ absB := b
314
314
if b < 0 {
315
315
absB = - b
316
316
}
Original file line number Diff line number Diff line change 204
204
assert (- 211632533027288521429006868069 * - 5653252500022028208 ) == 1196412146422513287446928630654295043023252490352
205
205
assert (- 2705655979939764051 * 498507611145963097629681977143 ) == - 1348790099142561628919972802250477720678595086293
206
206
assert (12870925392758904855337167358 * - 178373424945516810458926560056 ) == - 2295831044524626990552921549255668683393970507650109852048
207
+ assert 21 * 2432902008176640000 == 51090942171709440000
208
+ assert 2432902008176640000 * 21 == 51090942171709440000
207
209
208
210
def approxEqual (a , b ):
209
211
assert abs (a / b - 1 ) < 1E-15
You can’t perform that action at this time.
0 commit comments